[html5] r1503 - /
whatwg at whatwg.org
whatwg at whatwg.org
Mon Apr 28 15:56:55 PDT 2008
Author: ianh
Date: 2008-04-28 15:56:55 -0700 (Mon, 28 Apr 2008)
New Revision: 1503
Modified:
index
source
Log:
[g] (2) Make document.domain return the empty string, not null, when there is no origin.
Modified: index
===================================================================
--- index 2008-04-28 22:40:20 UTC (rev 1502)
+++ index 2008-04-28 22:56:55 UTC (rev 1503)
@@ -27214,9 +27214,9 @@
<p>The <dfn id=domain title=dom-document-domain><code>domain</code></dfn>
attribute on <code>Document</code> objects must be initialised to <a
- href="#domain0">the document's domain</a>, if it has one, and null
- otherwise. On getting, the attribute must return its current value. On
- setting, if the new value is an allowed value (as defined below), the
+ href="#domain0">the document's domain</a>, if it has one, and the empty
+ string otherwise. On getting, the attribute must return its current value.
+ On setting, if the new value is an allowed value (as defined below), the
attribute's value must be changed to the new value, and the <a
href="#effective3">effective script origin</a> of the
<code>Document</code> must be changed so that its host part is the new
Modified: source
===================================================================
--- source 2008-04-28 22:40:20 UTC (rev 1502)
+++ source 2008-04-28 22:56:55 UTC (rev 1503)
@@ -24932,8 +24932,8 @@
<p>The <dfn title="dom-document-domain"><code>domain</code></dfn>
attribute on <code>Document</code> objects must be initialised to
- <span>the document's domain</span>, if it has one, and null
- otherwise. On getting, the attribute must return its current
+ <span>the document's domain</span>, if it has one, and the empty
+ string otherwise. On getting, the attribute must return its current
value. On setting, if the new value is an allowed value (as defined
below), the attribute's value must be changed to the new value, and
the <span>effective script origin</span> of the
More information about the Commit-Watchers
mailing list