W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] window.open question...

From: Ian Hickson <ian@hixie.ch>
Date: Sat, 1 Jan 2011 08:44:43 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.1101010842440.28593@ps20323.dreamhostps.com>
On Mon, 27 Sep 2010, Biju wrote:
>
> Question, whether html5 spec is specific about behavior for steps at...
> https://bugzilla.mozilla.org/show_bug.cgi?id=197709#c0
> 
> See also https://bugzilla.mozilla.org/show_bug.cgi?id=197709#c3
> 
> I dont see HTML5 is specific about it at
> http://www.w3.org/TR/html5/browsers.html#dom-open
> http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-open
> 
> So I think that Firefox bug report is invalid, but want to confirm....

As far as I can tell the HTML spec defines all this. See the "navigate" 
algorithm for details on what happens when a page loads, including when a 
new Window object is created:

   http://www.whatwg.org/specs/web-apps/current-work/complete.html#navigate

Note in particular the exception listed under "creating a new Document 
object", which may be relevant here.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 1 January 2011 00:44:43 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC