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

document.referrer, .cookie, .domain

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 18 Apr 2003 23:05:57 -0700 (PDT)
To: www-dom@w3.org
Message-ID: <Pine.LNX.4.50.0304182254100.6013-100000@dhalsim.dreamhost.com>


Hi,

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. :-)

Cheers,
-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'
Received on Saturday, 19 April 2003 04:38:52 GMT

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