Re: Non-hierarchical base URLs (was Re: draft-abarth-url-01 uploaded)

On 4/25/11 3:50 AM, Adam Barth wrote:
> I don't believe you can correctly account for the behavior of existing
> browsers without classifying schemes into at least two categories.

In Gecko's case, I believe there are 4 different categories.  We have 
one parsing setup for "non-hierarchical" schemes (view-source, data, 
javascript, about, etc), and 3 different parsing setups for 
"hierarchical" ones (http, ftp, file, chromesee the URLTYPE_* constants 
at 
http://hg.mozilla.org/mozilla-central/file/c062731105cf/netwerk/base/public/nsIStandardURL.idl#l53 
which happen to document how the parsing differs based on the different 
type).

-Boris

Received on Monday, 25 April 2011 16:44:30 UTC