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

[whatwg] about:blank synchronicity

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 13 Jan 2010 21:56:28 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.1001132151390.26049@hixie.dreamhostps.com>
On Wed, 13 Jan 2010, Henri Sivonen wrote:
> 
> Gecko (with the old parser) has these two characteristics:
>  1) If a browsing context that has no document object is asked to return 
> its document object, an about:blank-like DOM is generated into the 
> browsing context synchronously.
>  2) When a browsing context is navigated to about:blank, a task is 
> posted to the task queue. When that task is run, about:blank is parsed 
> to completion during the single task queue task.

The spec currently distinguishes between the initial about:blank load 
(creation of a new browsing context), which actually doesn't involve 
navigation, and navigating to about:blank.

It seems like simply making the first one synchronous, but making the 
latter asynchronous, would satisfy your use case. Would other vendors be 
ok with this?

Would it have other problems? Are there cases other than navigation where 
about:blank being synchronous is detectable? (I couldn't find any.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 13 January 2010 13:56:28 UTC

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