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>


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

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC