Re: [whatwg] Effect on window.opener when navigating an existing window using window.open

On Jul 1, 2014, at 9:45 PM, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:

> On 7/1/14, 10:18 PM, Ryosuke Niwa wrote:
>> Could you point me to a specific test case that demonstrates the difference?
> 
> http://fiddle.jshell.net/t4sgd/show/
> 
> Chrome and Firefox alert "true"; IE alerts "false".  The spec says "false" should be alerted.

On Jul 2, 2014, at 5:43 AM, Bob Owen <bobowencode@gmail.com> wrote:

> On 2 July 2014 03:18, Ryosuke Niwa <rniwa@apple.com> wrote:
>> 
>> Could you point me to a specific test case that demonstrates the
> difference?
> 
> Sure, here you go:
> https://people.mozilla.org/~bowen/openerTest/openerTest.html
> 
> In IE you get "firstOpener" alerted both times, which is as spec.
> 
> In Firefox and Chrome "secondOpener" is alerted the second time.
> 
> I'm almost embarrassed to say that I don't have Safari to test against, but
> I believe it's the same as Firefox and Chrome.
> 
> I've got a fix for Gecko, but we're concerned that there might be some
> compat issues and I haven't had time to look into it.
> 
> If I remember correctly the fix for WebKit was pretty straight forward, so
> if you would be able to take on the compat testing that would be fantastic.

Thanks for the examples!

- R. Niwa

Received on Tuesday, 8 July 2014 16:17:28 UTC