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

[whatwg] navigation shouldn't abort if canceled

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 02 Feb 2011 15:32:24 -0500
Message-ID: <4D49BF58.9000504@mit.edu>
On 2/2/11 3:22 PM, Michael Nordman wrote:
> That does sound like a bug? I'd be curious to know what the reasoning
> was for the existing sequence of steps.

 From what I can tell, current browser behavior.

> Step 10 looks out of place too...
> "10. If the new resource is to be handled using a mechanism that does
> not affect the browsing context, e.g. ignoring the navigation request
> altogether because the specified scheme is not one of the supported
> protocols, then abort these steps and proceed with that mechanism
> instead."
> Aborting the active document sounds like an undesirable side affect on
> the browsing context for mailto links.

I suspect that again this is current browser behavior.

Note that in some cases mailto: links will load a web page (and thus 
abort the document they were in).  So it may be worthwhile to have them 
always abort it, for consistency.

Received on Wednesday, 2 February 2011 12:32:24 UTC

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