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

[whatwg] navigation shouldn't abort if canceled

From: Mike Wilson <mikewse@hotmail.com>
Date: Sun, 26 Dec 2010 22:19:39 +0100
Message-ID: <SNT129-DS20EC3DB8AD773953FBC0B8A41F0@phx.gbl>
http://www.whatwg.org/specs/web-apps/current-work/#navigating-across-documen
ts
(as of December 26, 2010)
| When a browsing context is navigated to a new resource, the 
| user agent must run the following steps:
...
| 9.  Abort the active document of the browsing context.
...
| 11. Prompt to unload the Document object. If the user refused 
|     to allow the document to be unloaded, then these steps 
|     must be aborted.

Might this be a bug? (It seems more consistent with other
parts of the html5 spec, and with browsers, to do the abort 
after the user has allowed the document to unload.)

Best regards
Mike Wilson
Received on Sunday, 26 December 2010 13:19:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:02 UTC