[whatwg] navigation shouldn't abort if canceled

Mike Wilson mikewse at hotmail.com
Sun Dec 26 13:19:39 PST 2010

(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

More information about the whatwg mailing list