Re: [whatwg] Reconcile document.URL and document.documentURI?

On Thu, 2 Feb 2012, Anne van Kesteren wrote:
> On Fri, 13 Jan 2012 23:30:06 +0100, Ian Hickson <ian@hixie.ch> wrote:
> > > I moved document.URL to DOM Core, made document.documentURI 
> > > readonly, and have them both return the same URL concept, which 
> > > defaults to "about:blank".
> > 
> > They now always return about:blank, since this URL concept is never 
> > set.
> > 
> > So um... when should it be set? Is it just "the document's address" 
> > but with the change that the document's address is about:blank for 
> > create*Document()-created documents?
> 
> Yes, the HTML standard is already correct, except it no longer needs to 
> define document.URL and it should probably say it updates the 
> concept-document-url concept from DOM rather than introducing its own 
> new concept (you still need to introduce the "current" one though).

Done (though I just said "document's address" was what DOM Core called a 
"URL", rather than calling it "URL", since I use the term "URL" for 
something else already -- namely, the data type).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 26 June 2012 19:29:41 UTC