[whatwg] [URL] Starting work on a URL spec

Boris Zbarsky bzbarsky at MIT.EDU
Sun Jul 25 14:08:50 PDT 2010


On 7/25/10 3:05 PM, Adam Barth wrote:
> I don't know of any way to do that.  I can tell you that in WebKit,
> the function that usually gets called to resolve URLs (called
> completeURL if you want to look it up in the source) returns a
> canonicalized URL.

The same is true in Gecko.  The way an nsIURI object is typically 
constructed is from an nsIURI base (possibly null) and a URL string, and 
the return value is resolved and canonicalized.

-Boris


More information about the whatwg mailing list