W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2012

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

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 26 Jun 2012 19:29:07 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Message-ID: <Pine.LNX.4.64.1206261928010.30734@ps20323.dreamhostps.com>
Cc: WHATWG <whatwg@whatwg.org>
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

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