W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2003

Re: document.referrer, .cookie, .domain

From: Robin Berjon <robin.berjon@expway.fr>
Date: Tue, 22 Apr 2003 18:12:34 +0200
Message-ID: <3EA569F2.6090802@expway.fr>
To: Ian Hickson <ian@hixie.ch>
Cc: www-dom@w3.org

Ian Hickson wrote:
> I was wondering if the DOM Working Group would consider splitting the DOM
> HTML features document.referrer, document.cookie, and document.domain out
> of the HTML-specific interface, and into a general "browser" interface
> that applies to all XML documents as well. (I understand that not all DOM
> implementations would want to support these features, which is why I am
> not suggesting they be made part of the DOM core.)
> 
> There isn't really anything HTML-specific about these three attributes,
> and I think authors would benefit from being able to use them from other
> contexts, such as SVG, without having to cast their document object to an
> HTML object despite there being no HTML on the page. :-)

Yes, that would indeed be great, especially as none of the alternative are any 
good (casting, proprietary, reinventing the wheel). The splitting out would seem 
to require minimal work and could be readily reused by other specs.

-- 
Robin Berjon <robin.berjon@expway.fr>
Research Engineer, Expway        http://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488
Received on Tuesday, 22 April 2003 12:12:45 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:56 GMT