[html5] r7159 - [giow] (3) Turns out that browsers don't distinguish between the 'document's add [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Jun 28 18:23:37 PDT 2012


Author: ianh
Date: 2012-06-28 18:23:36 -0700 (Thu, 28 Jun 2012)
New Revision: 7159

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Turns out that browsers don't distinguish between the 'document's address' and the 'documents's current address', so we can merge them.
Affected topics: DOM APIs, HTML, Microdata

Modified: complete.html
===================================================================
--- complete.html	2012-06-28 23:12:26 UTC (rev 7158)
+++ complete.html	2012-06-29 01:23:36 UTC (rev 7159)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 June 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 29 June 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -7555,6 +7555,7 @@
 
     <ol><li><p>Let <var title="">fallback base url</var> be <a href="#the-document's-address">the
      document's address</a>.</li>
+     <!-- http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/001/ -->
 
      <li>
 
@@ -8146,9 +8147,8 @@
    <li>
 
     <p>Generate the <i>address of the resource from which Request-URIs
-    are obtained</i> as required by HTTP for the <code title=http-referer>Referer</code> (sic) header from <a href="#the-document's-current-address">the
-    document's current address</a> of <var title="">document</var>.
-    <a href=#refsHTTP>[HTTP]</a></p>
+    are obtained</i> as required by HTTP for the <code title=http-referer>Referer</code> (sic) header from <a href="#the-document's-address">the
+    document's address</a> of <var title="">document</var>. <a href=#refsHTTP>[HTTP]</a></p>
 
     <p>Remove any <a href=#url-fragment title=url-fragment><fragment></a>
     component from the generated <i>address of the resource from which
@@ -9834,18 +9834,21 @@
   <code><a href=#document>Document</a></code> object. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <p><dfn id="the-document's-address">The document's address</dfn> is an <a href=#absolute-url>absolute URL</a>
-  that is set when the <code><a href=#document>Document</a></code> is created. <dfn id="the-document's-current-address">The
-  document's current address</dfn> is an <a href=#absolute-url>absolute URL</a>
+  that is initially set when the <code><a href=#document>Document</a></code> is created but
   that can change during the lifetime of the <code><a href=#document>Document</a></code>,
   for example when the user <a href=#navigate title=navigate>navigates</a> to
   a <a href=#scroll-to-fragid title=navigate-fragid>fragment identifier</a> on the
   page or when the <code title=dom-history-pushState><a href=#dom-history-pushstate>pushState()</a></code> method is called
-  with a new <a href=#url>URL</a>. <span class=impl><a href="#the-document's-current-address">The document's
-  current address</a> must be set to <a href="#the-document's-address">the document's
-  address</a> when the <code><a href=#document>Document</a></code> is created.</span></p>
+  with a new <a href=#url>URL</a>.</p>
+  <!--
+    http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/002/
+    http://www.hixie.ch/tests/adhoc/html/navigation/fragids/016.html
+  -->
 
-  <p class=note>Interactive user agents typically expose <a href="#the-document's-current-address">the
-  document's current address</a> in their user interface.</p>
+  <p class=warning>Interactive user agents typically expose
+  <a href="#the-document's-address">the document's address</a> in their user interface. This is
+  the primary mechanism by which a user can tell if a site is
+  attempting to impersonate another.</p>
 
   <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
   or <code title=dom-DOMHTMLImplementation-createHTMLDocument>createHTMLDocument()</code>
@@ -10007,21 +10010,24 @@
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-referrer><a href=#dom-document-referrer>referrer</a></code></dt>
    <dd>
-    <p>Returns <a href="#the-document's-current-address" title="the document's current address">the
-    address</a> of the <code><a href=#document>Document</a></code> from which the user
-    navigated to this one, unless it was blocked or there was no such
-    document, in which case it returns the empty string.</p>
+
+    <p>Returns <a href="#the-document's-address" title="the document's address">the address</a>
+    of the <code><a href=#document>Document</a></code> from which the user navigated to this
+    one, unless it was blocked or there was no such document, in which
+    case it returns the empty string.</p>
+
     <p>The <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> link
     type can be used to block the referrer.</p>
+
    </dd>
 
   </dl><div class=impl>
 
   <p>The <dfn id=dom-document-referrer title=dom-document-referrer><code>referrer</code></dfn> attribute
-  must return either the <a href="#the-document's-current-address" title="the document's current
-  address">current address</a> of the <a href=#active-document>active document</a>
-  of the <a href=#source-browsing-context>source browsing context</a> <em>at the time the
-  navigation was started</em> (that is, the page which <a href=#navigate title=navigate>navigated</a> the <a href=#browsing-context>browsing context</a>
+  must return either the <a href="#the-document's-address" title="the document's
+  address">address</a> of the <a href=#active-document>active document</a> of the
+  <a href=#source-browsing-context>source browsing context</a> <em>at the time the navigation
+  was started</em> (that is, the page which <a href=#navigate title=navigate>navigated</a> the <a href=#browsing-context>browsing context</a>
   to the current document), with any <a href=#url-fragment title=url-fragment><fragment></a> component removed; or
   the empty string if there is no such originating page, or if the UA
   has been configured not to report referrers in this case, or if the
@@ -58746,8 +58752,8 @@
    encrypted connection</dt>
 
    <dd>The request must include a <code title=http-referer>Referer</code> (sic) HTTP header with, as its
-   value, the <a href="#the-document's-current-address" title="the document's current address">current
-   address</a> of the document containing the hyperlink, a <code title=http-ping-from><a href=#ping-from>Ping-From</a></code> HTTP header with the same
+   value, the <a href="#the-document's-address" title="the document's address">address</a> of
+   the document containing the hyperlink, a <code title=http-ping-from><a href=#ping-from>Ping-From</a></code> HTTP header with the same
    value, and a <code title=http-ping-to><a href=#ping-to>Ping-To</a></code> HTTP header
    with, as its value, the address of the target of the
    hyperlink.</dd>
@@ -63239,8 +63245,8 @@
    to <var title="">output</var>.</li>
 
    <li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">SOURCE</code>" and the result of <a href=#escaping-the-vcard-text-string>escaping the vCard
-   text string</a> that is <a href="#the-document's-current-address">the document's current
-   address</a> as the value to <var title="">output</var>.</li>
+   text string</a> that is <a href="#the-document's-address">the document's address</a> as
+   the value to <var title="">output</var>.</li>
 
    <li><p>If <a href=#the-title-element-0>the <code>title</code> element</a> is not null,
    <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">NAME</code>" and with the result of <a href=#escaping-the-vcard-text-string>escaping the
@@ -67620,7 +67626,8 @@
 
    <li>
 
-    <p>Set <a href="#the-document's-current-address">the document's current address</a> to <var title="">new URL</var>.</p>
+    <p>Set <a href="#the-document's-address">the document's address</a> to <var title="">new
+    URL</var>.</p>
 
     <p class=note>Since this is neither a <a href=#navigate title=navigate>navigation</a> of the <a href=#browsing-context>browsing
     context</a> nor a <a href=#traverse-the-history title="traverse the history">history
@@ -67787,10 +67794,11 @@
 
   </div>
 
-  <p><code><a href=#location>Location</a></code> objects provide a representation of <a href="#the-document's-current-address" title="the document's current address">their document's current
-  address</a>, and allow the <a href=#current-entry>current entry</a> of the
-  <a href=#browsing-context>browsing context</a>'s session history to be changed, by
-  adding or replacing entries in the <code title=dom-history><a href=#dom-history>history</a></code> object.</p>
+  <p><code><a href=#location>Location</a></code> objects provide a representation of <a href="#the-document's-address" title="the document's address">their document's address</a>, and
+  allow the <a href=#current-entry>current entry</a> of the <a href=#browsing-context>browsing
+  context</a>'s session history to be changed, by adding or
+  replacing entries in the <code title=dom-history><a href=#dom-history>history</a></code>
+  object.</p>
 
   <pre class=idl>interface <dfn id=location>Location</dfn> {
   stringifier attribute DOMString <a href=#dom-location-href title=dom-location-href>href</a>;
@@ -67845,9 +67853,9 @@
   </dl><div class=impl>
 
   <p>The <dfn id=dom-location-href title=dom-location-href><code>href</code></dfn>
-  attribute must return <a href="#the-document's-current-address" title="the document's current
-  address">the current address</a> of the associated
-  <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute URL</a>.</p>
+  attribute must return <a href="#the-document's-address" title="the document's address">the
+  address</a> of the associated <code><a href=#document>Document</a></code> object, as an
+  <a href=#absolute-url>absolute URL</a>.</p>
 
   <p>On setting, if the <code><a href=#location>Location</a></code> object's associated
   <code><a href=#document>Document</a></code> object has <a href=#completely-loaded>completely loaded</a>,
@@ -67916,7 +67924,7 @@
    <dt>Otherwise</dt>
 
    <dd><p><a href=#navigate>Navigate</a><!--DONAV location.reload()--> the
-   <a href=#browsing-context>browsing context</a> to <a href="#the-document's-current-address">the document's current
+   <a href=#browsing-context>browsing context</a> to <a href="#the-document's-address">the document's
    address</a> with <a href=#replacement-enabled>replacement enabled</a>. The
    <a href=#source-browsing-context>source browsing context</a> must be the <a href=#browsing-context>browsing
    context</a> being navigated.</dd> <!-- it appears that
@@ -67943,14 +67951,13 @@
 
   <p>The <code><a href=#location>Location</a></code> interface also has the complement of
   <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-location-protocol title=dom-location-protocol><code>protocol</code></dfn>, <dfn id=dom-location-host title=dom-location-host><code>host</code></dfn>, <dfn id=dom-location-port title=dom-location-port><code>port</code></dfn>, <dfn id=dom-location-hostname title=dom-location-hostname><code>hostname</code></dfn>, <dfn id=dom-location-pathname title=dom-location-pathname><code>pathname</code></dfn>, <dfn id=dom-location-search title=dom-location-search><code>search</code></dfn>, and <dfn id=dom-location-hash title=dom-location-hash><code>hash</code></dfn>. <span class=impl>These must follow the rules given for <a href=#url-decomposition-idl-attributes>URL
-  decomposition IDL attributes</a>, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being <a href="#the-document's-current-address" title="the
-  document's current address">the current address</a> of the
-  associated <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute
-  URL</a> (same as the <code title=dom-location-href><a href=#dom-location-href>href</a></code>
-  attribute), and the <a href=#concept-uda-setter title=concept-uda-setter>common setter
-  action</a> being the same as setting the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute to the new output
-  value.</span></p>
-<!--TOPIC:HTML-->
+  decomposition IDL attributes</a>, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being <a href="#the-document's-address" title="the
+  document's address">the address</a> of the associated
+  <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute URL</a> (same
+  as the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute), and
+  the <a href=#concept-uda-setter title=concept-uda-setter>common setter action</a>
+  being the same as setting the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute to the new output
+  value.</span></p> <!--TOPIC:HTML-->
 
 
 <!--ADD-TOPIC:Security-->
@@ -68660,10 +68667,9 @@
    these steps.</li>
 
    <li><p><a href=#scroll-to-the-fragment-identifier>Scroll to the fragment identifier</a> given in
-   <a href="#the-document's-current-address">the document's current address</a>. If this fails to find
-   <a href=#the-indicated-part-of-the-document title="the indicated part of the document">an indicated part
-   of the document</a>, then return to the <i>fragment identifier
-   loop</i> step.</li>
+   <a href="#the-document's-address">the document's address</a>. If this fails to find <a href=#the-indicated-part-of-the-document title="the indicated part of the document">an indicated part of the
+   document</a>, then return to the <i>fragment identifier loop</i>
+   step.</li>
 
   </ol><p>The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the <a href=#networking-task-source>networking task
   source</a>.</p>
@@ -69006,7 +69012,7 @@
 
    <li><p><a href=#traverse-the-history>Traverse the history</a> to the new entry. This
    will <a href=#scroll-to-the-fragment-identifier>scroll to the fragment identifier</a> given in what
-   is now <a href="#the-document's-current-address">the document's current address</a>.</li>
+   is now <a href="#the-document's-address">the document's address</a>.</li>
 
   </ol><p class=note>If the scrolling fails because the relevant <a href=#concept-id title=concept-id>ID</a> has not yet been parsed, then the
   original <a href=#navigate title=navigate>navigation</a> algorithm will
@@ -69189,8 +69195,8 @@
 
     </ol></li>
 
-   <li><p>Set <a href="#the-document's-current-address">the document's current address</a> to the URL
-   of the <var title="">specified entry</var>.</li>
+   <li><p>Set <a href="#the-document's-address">the document's address</a> to the URL of the
+   <var title="">specified entry</var>.</li>
 
    <li><p>If the <var title="">specified entry</var> has a URL whose
    fragment identifier differs from that of the <a href=#current-entry>current
@@ -72118,9 +72124,9 @@
     <p>A <code><a href=#document>Document</a></code> that is assigned responsibility for
     actions taken by the script.</p>
 
-    <p class=example>When a script <a href=#fetch title=fetch>fetches</a> a resource, the <a href="#the-document's-current-address" title="the
-    document's current address">current address</a> of the
-    <a href="#script's-document">script's document</a> will be used to set the <code title=http-referer>Referer</code> (sic) header.</p>
+    <p class=example>When a script <a href=#fetch title=fetch>fetches</a> a resource, the <a href="#the-document's-address" title="the
+    document's address">address</a> of the <a href="#script's-document">script's
+    document</a> will be used to set the <code title=http-referer>Referer</code> (sic) header.</p>
 
    </dd>
 
@@ -78308,7 +78314,8 @@
           target element</a> unchanged.</p>
 
           <p>Otherwise, <a href=#fire-a-dnd-event>fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <var title="">new target</var>. Then, set the <a href=#current-target-element>current
-          target element</a> to <var title="">new target</var>
+          target element</a> to <var title="">new target</var>,
+          regardless of whether that event was canceled or not.</p>
 
          </dd>
 

Modified: index
===================================================================
--- index	2012-06-28 23:12:26 UTC (rev 7158)
+++ index	2012-06-29 01:23:36 UTC (rev 7159)
@@ -240,7 +240,7 @@
 
   <header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
    <hgroup><h1 class=allcaps>HTML</h1>
-    <h2 class="no-num no-toc">Living Standard — Last Updated 28 June 2012</h2>
+    <h2 class="no-num no-toc">Living Standard — Last Updated 29 June 2012</h2>
    </hgroup><dl><dt><strong>Web developer edition:</strong></dt>
     <dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
     <dt>Multiple-page version:</dt>
@@ -7555,6 +7555,7 @@
 
     <ol><li><p>Let <var title="">fallback base url</var> be <a href="#the-document's-address">the
      document's address</a>.</li>
+     <!-- http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/001/ -->
 
      <li>
 
@@ -8146,9 +8147,8 @@
    <li>
 
     <p>Generate the <i>address of the resource from which Request-URIs
-    are obtained</i> as required by HTTP for the <code title=http-referer>Referer</code> (sic) header from <a href="#the-document's-current-address">the
-    document's current address</a> of <var title="">document</var>.
-    <a href=#refsHTTP>[HTTP]</a></p>
+    are obtained</i> as required by HTTP for the <code title=http-referer>Referer</code> (sic) header from <a href="#the-document's-address">the
+    document's address</a> of <var title="">document</var>. <a href=#refsHTTP>[HTTP]</a></p>
 
     <p>Remove any <a href=#url-fragment title=url-fragment><fragment></a>
     component from the generated <i>address of the resource from which
@@ -9834,18 +9834,21 @@
   <code><a href=#document>Document</a></code> object. <a href=#refsDOMCORE>[DOMCORE]</a></p>
 
   <p><dfn id="the-document's-address">The document's address</dfn> is an <a href=#absolute-url>absolute URL</a>
-  that is set when the <code><a href=#document>Document</a></code> is created. <dfn id="the-document's-current-address">The
-  document's current address</dfn> is an <a href=#absolute-url>absolute URL</a>
+  that is initially set when the <code><a href=#document>Document</a></code> is created but
   that can change during the lifetime of the <code><a href=#document>Document</a></code>,
   for example when the user <a href=#navigate title=navigate>navigates</a> to
   a <a href=#scroll-to-fragid title=navigate-fragid>fragment identifier</a> on the
   page or when the <code title=dom-history-pushState><a href=#dom-history-pushstate>pushState()</a></code> method is called
-  with a new <a href=#url>URL</a>. <span class=impl><a href="#the-document's-current-address">The document's
-  current address</a> must be set to <a href="#the-document's-address">the document's
-  address</a> when the <code><a href=#document>Document</a></code> is created.</span></p>
+  with a new <a href=#url>URL</a>.</p>
+  <!--
+    http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/002/
+    http://www.hixie.ch/tests/adhoc/html/navigation/fragids/016.html
+  -->
 
-  <p class=note>Interactive user agents typically expose <a href="#the-document's-current-address">the
-  document's current address</a> in their user interface.</p>
+  <p class=warning>Interactive user agents typically expose
+  <a href="#the-document's-address">the document's address</a> in their user interface. This is
+  the primary mechanism by which a user can tell if a site is
+  attempting to impersonate another.</p>
 
   <p>When a <code><a href=#document>Document</a></code> is created by a <a href=#concept-script title=concept-script>script</a> using the <code title=dom-DOMImplementation-createDocument><a href=#dom-domimplementation-createdocument>createDocument()</a></code>
   or <code title=dom-DOMHTMLImplementation-createHTMLDocument>createHTMLDocument()</code>
@@ -10007,21 +10010,24 @@
 
   <dl class=domintro><dt><var title="">document</var> . <code title=dom-document-referrer><a href=#dom-document-referrer>referrer</a></code></dt>
    <dd>
-    <p>Returns <a href="#the-document's-current-address" title="the document's current address">the
-    address</a> of the <code><a href=#document>Document</a></code> from which the user
-    navigated to this one, unless it was blocked or there was no such
-    document, in which case it returns the empty string.</p>
+
+    <p>Returns <a href="#the-document's-address" title="the document's address">the address</a>
+    of the <code><a href=#document>Document</a></code> from which the user navigated to this
+    one, unless it was blocked or there was no such document, in which
+    case it returns the empty string.</p>
+
     <p>The <code title=rel-noreferrer><a href=#link-type-noreferrer>noreferrer</a></code> link
     type can be used to block the referrer.</p>
+
    </dd>
 
   </dl><div class=impl>
 
   <p>The <dfn id=dom-document-referrer title=dom-document-referrer><code>referrer</code></dfn> attribute
-  must return either the <a href="#the-document's-current-address" title="the document's current
-  address">current address</a> of the <a href=#active-document>active document</a>
-  of the <a href=#source-browsing-context>source browsing context</a> <em>at the time the
-  navigation was started</em> (that is, the page which <a href=#navigate title=navigate>navigated</a> the <a href=#browsing-context>browsing context</a>
+  must return either the <a href="#the-document's-address" title="the document's
+  address">address</a> of the <a href=#active-document>active document</a> of the
+  <a href=#source-browsing-context>source browsing context</a> <em>at the time the navigation
+  was started</em> (that is, the page which <a href=#navigate title=navigate>navigated</a> the <a href=#browsing-context>browsing context</a>
   to the current document), with any <a href=#url-fragment title=url-fragment><fragment></a> component removed; or
   the empty string if there is no such originating page, or if the UA
   has been configured not to report referrers in this case, or if the
@@ -58746,8 +58752,8 @@
    encrypted connection</dt>
 
    <dd>The request must include a <code title=http-referer>Referer</code> (sic) HTTP header with, as its
-   value, the <a href="#the-document's-current-address" title="the document's current address">current
-   address</a> of the document containing the hyperlink, a <code title=http-ping-from><a href=#ping-from>Ping-From</a></code> HTTP header with the same
+   value, the <a href="#the-document's-address" title="the document's address">address</a> of
+   the document containing the hyperlink, a <code title=http-ping-from><a href=#ping-from>Ping-From</a></code> HTTP header with the same
    value, and a <code title=http-ping-to><a href=#ping-to>Ping-To</a></code> HTTP header
    with, as its value, the address of the target of the
    hyperlink.</dd>
@@ -63239,8 +63245,8 @@
    to <var title="">output</var>.</li>
 
    <li><p><a href=#add-a-vcard-line>Add a vCard line</a> with the type "<code title="">SOURCE</code>" and the result of <a href=#escaping-the-vcard-text-string>escaping the vCard
-   text string</a> that is <a href="#the-document's-current-address">the document's current
-   address</a> as the value to <var title="">output</var>.</li>
+   text string</a> that is <a href="#the-document's-address">the document's address</a> as
+   the value to <var title="">output</var>.</li>
 
    <li><p>If <a href=#the-title-element-0>the <code>title</code> element</a> is not null,
    <a href=#add-a-vcard-line>add a vCard line</a> with the type "<code title="">NAME</code>" and with the result of <a href=#escaping-the-vcard-text-string>escaping the
@@ -67620,7 +67626,8 @@
 
    <li>
 
-    <p>Set <a href="#the-document's-current-address">the document's current address</a> to <var title="">new URL</var>.</p>
+    <p>Set <a href="#the-document's-address">the document's address</a> to <var title="">new
+    URL</var>.</p>
 
     <p class=note>Since this is neither a <a href=#navigate title=navigate>navigation</a> of the <a href=#browsing-context>browsing
     context</a> nor a <a href=#traverse-the-history title="traverse the history">history
@@ -67787,10 +67794,11 @@
 
   </div>
 
-  <p><code><a href=#location>Location</a></code> objects provide a representation of <a href="#the-document's-current-address" title="the document's current address">their document's current
-  address</a>, and allow the <a href=#current-entry>current entry</a> of the
-  <a href=#browsing-context>browsing context</a>'s session history to be changed, by
-  adding or replacing entries in the <code title=dom-history><a href=#dom-history>history</a></code> object.</p>
+  <p><code><a href=#location>Location</a></code> objects provide a representation of <a href="#the-document's-address" title="the document's address">their document's address</a>, and
+  allow the <a href=#current-entry>current entry</a> of the <a href=#browsing-context>browsing
+  context</a>'s session history to be changed, by adding or
+  replacing entries in the <code title=dom-history><a href=#dom-history>history</a></code>
+  object.</p>
 
   <pre class=idl>interface <dfn id=location>Location</dfn> {
   stringifier attribute DOMString <a href=#dom-location-href title=dom-location-href>href</a>;
@@ -67845,9 +67853,9 @@
   </dl><div class=impl>
 
   <p>The <dfn id=dom-location-href title=dom-location-href><code>href</code></dfn>
-  attribute must return <a href="#the-document's-current-address" title="the document's current
-  address">the current address</a> of the associated
-  <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute URL</a>.</p>
+  attribute must return <a href="#the-document's-address" title="the document's address">the
+  address</a> of the associated <code><a href=#document>Document</a></code> object, as an
+  <a href=#absolute-url>absolute URL</a>.</p>
 
   <p>On setting, if the <code><a href=#location>Location</a></code> object's associated
   <code><a href=#document>Document</a></code> object has <a href=#completely-loaded>completely loaded</a>,
@@ -67916,7 +67924,7 @@
    <dt>Otherwise</dt>
 
    <dd><p><a href=#navigate>Navigate</a><!--DONAV location.reload()--> the
-   <a href=#browsing-context>browsing context</a> to <a href="#the-document's-current-address">the document's current
+   <a href=#browsing-context>browsing context</a> to <a href="#the-document's-address">the document's
    address</a> with <a href=#replacement-enabled>replacement enabled</a>. The
    <a href=#source-browsing-context>source browsing context</a> must be the <a href=#browsing-context>browsing
    context</a> being navigated.</dd> <!-- it appears that
@@ -67943,14 +67951,13 @@
 
   <p>The <code><a href=#location>Location</a></code> interface also has the complement of
   <a href=#url-decomposition-idl-attributes>URL decomposition IDL attributes</a>, <dfn id=dom-location-protocol title=dom-location-protocol><code>protocol</code></dfn>, <dfn id=dom-location-host title=dom-location-host><code>host</code></dfn>, <dfn id=dom-location-port title=dom-location-port><code>port</code></dfn>, <dfn id=dom-location-hostname title=dom-location-hostname><code>hostname</code></dfn>, <dfn id=dom-location-pathname title=dom-location-pathname><code>pathname</code></dfn>, <dfn id=dom-location-search title=dom-location-search><code>search</code></dfn>, and <dfn id=dom-location-hash title=dom-location-hash><code>hash</code></dfn>. <span class=impl>These must follow the rules given for <a href=#url-decomposition-idl-attributes>URL
-  decomposition IDL attributes</a>, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being <a href="#the-document's-current-address" title="the
-  document's current address">the current address</a> of the
-  associated <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute
-  URL</a> (same as the <code title=dom-location-href><a href=#dom-location-href>href</a></code>
-  attribute), and the <a href=#concept-uda-setter title=concept-uda-setter>common setter
-  action</a> being the same as setting the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute to the new output
-  value.</span></p>
-<!--TOPIC:HTML-->
+  decomposition IDL attributes</a>, with the <a href=#concept-uda-input title=concept-uda-input>input</a> being <a href="#the-document's-address" title="the
+  document's address">the address</a> of the associated
+  <code><a href=#document>Document</a></code> object, as an <a href=#absolute-url>absolute URL</a> (same
+  as the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute), and
+  the <a href=#concept-uda-setter title=concept-uda-setter>common setter action</a>
+  being the same as setting the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute to the new output
+  value.</span></p> <!--TOPIC:HTML-->
 
 
 <!--ADD-TOPIC:Security-->
@@ -68660,10 +68667,9 @@
    these steps.</li>
 
    <li><p><a href=#scroll-to-the-fragment-identifier>Scroll to the fragment identifier</a> given in
-   <a href="#the-document's-current-address">the document's current address</a>. If this fails to find
-   <a href=#the-indicated-part-of-the-document title="the indicated part of the document">an indicated part
-   of the document</a>, then return to the <i>fragment identifier
-   loop</i> step.</li>
+   <a href="#the-document's-address">the document's address</a>. If this fails to find <a href=#the-indicated-part-of-the-document title="the indicated part of the document">an indicated part of the
+   document</a>, then return to the <i>fragment identifier loop</i>
+   step.</li>
 
   </ol><p>The <a href=#task-source>task source</a> for this <a href=#concept-task title=concept-task>task</a> is the <a href=#networking-task-source>networking task
   source</a>.</p>
@@ -69006,7 +69012,7 @@
 
    <li><p><a href=#traverse-the-history>Traverse the history</a> to the new entry. This
    will <a href=#scroll-to-the-fragment-identifier>scroll to the fragment identifier</a> given in what
-   is now <a href="#the-document's-current-address">the document's current address</a>.</li>
+   is now <a href="#the-document's-address">the document's address</a>.</li>
 
   </ol><p class=note>If the scrolling fails because the relevant <a href=#concept-id title=concept-id>ID</a> has not yet been parsed, then the
   original <a href=#navigate title=navigate>navigation</a> algorithm will
@@ -69189,8 +69195,8 @@
 
     </ol></li>
 
-   <li><p>Set <a href="#the-document's-current-address">the document's current address</a> to the URL
-   of the <var title="">specified entry</var>.</li>
+   <li><p>Set <a href="#the-document's-address">the document's address</a> to the URL of the
+   <var title="">specified entry</var>.</li>
 
    <li><p>If the <var title="">specified entry</var> has a URL whose
    fragment identifier differs from that of the <a href=#current-entry>current
@@ -72118,9 +72124,9 @@
     <p>A <code><a href=#document>Document</a></code> that is assigned responsibility for
     actions taken by the script.</p>
 
-    <p class=example>When a script <a href=#fetch title=fetch>fetches</a> a resource, the <a href="#the-document's-current-address" title="the
-    document's current address">current address</a> of the
-    <a href="#script's-document">script's document</a> will be used to set the <code title=http-referer>Referer</code> (sic) header.</p>
+    <p class=example>When a script <a href=#fetch title=fetch>fetches</a> a resource, the <a href="#the-document's-address" title="the
+    document's address">address</a> of the <a href="#script's-document">script's
+    document</a> will be used to set the <code title=http-referer>Referer</code> (sic) header.</p>
 
    </dd>
 
@@ -78308,7 +78314,8 @@
           target element</a> unchanged.</p>
 
           <p>Otherwise, <a href=#fire-a-dnd-event>fire a DND event</a> named <code title=event-dragenter><a href=#event-dragenter>dragenter</a></code> at <var title="">new target</var>. Then, set the <a href=#current-target-element>current
-          target element</a> to <var title="">new target</var>
+          target element</a> to <var title="">new target</var>,
+          regardless of whether that event was canceled or not.</p>
 
          </dd>
 

Modified: source
===================================================================
--- source	2012-06-28 23:12:26 UTC (rev 7158)
+++ source	2012-06-29 01:23:36 UTC (rev 7159)
@@ -7362,6 +7362,7 @@
 
      <li><p>Let <var title="">fallback base url</var> be <span>the
      document's address</span>.</p></li>
+     <!-- http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/001/ -->
 
      <li>
 
@@ -8068,8 +8069,8 @@
     <p>Generate the <i>address of the resource from which Request-URIs
     are obtained</i> as required by HTTP for the <code
     title="http-referer">Referer</code> (sic) header from <span>the
-    document's current address</span> of <var title="">document</var>.
-    <a href="#refsHTTP">[HTTP]</a></p>
+    document's address</span> of <var title="">document</var>. <a
+    href="#refsHTTP">[HTTP]</a></p>
 
     <p>Remove any <span title="url-fragment"><fragment></span>
     component from the generated <i>address of the resource from which
@@ -10018,19 +10019,22 @@
   href="#refsDOMCORE">[DOMCORE]</a></p>
 
   <p><dfn>The document's address</dfn> is an <span>absolute URL</span>
-  that is set when the <code>Document</code> is created. <dfn>The
-  document's current address</dfn> is an <span>absolute URL</span>
+  that is initially set when the <code>Document</code> is created but
   that can change during the lifetime of the <code>Document</code>,
   for example when the user <span title="navigate">navigates</span> to
   a <span title="navigate-fragid">fragment identifier</span> on the
   page or when the <code
   title="dom-history-pushState">pushState()</code> method is called
-  with a new <span>URL</span>. <span class="impl"><span>The document's
-  current address</span> must be set to <span>the document's
-  address</span> when the <code>Document</code> is created.</span></p>
+  with a new <span>URL</span>.</p>
+  <!--
+    http://www.hixie.ch/tests/adhoc/dom/level0/history/pushState/002/
+    http://www.hixie.ch/tests/adhoc/html/navigation/fragids/016.html
+  -->
 
-  <p class="note">Interactive user agents typically expose <span>the
-  document's current address</span> in their user interface.</p>
+  <p class="warning">Interactive user agents typically expose
+  <span>the document's address</span> in their user interface. This is
+  the primary mechanism by which a user can tell if a site is
+  attempting to impersonate another.</p>
 
   <p>When a <code>Document</code> is created by a <span
   title="concept-script">script</span> using the <code
@@ -10206,12 +10210,15 @@
 
    <dt><var title="">document</var> . <code title="dom-document-referrer">referrer</code></dt>
    <dd>
-    <p>Returns <span title="the document's current address">the
-    address</span> of the <code>Document</code> from which the user
-    navigated to this one, unless it was blocked or there was no such
-    document, in which case it returns the empty string.</p>
+
+    <p>Returns <span title="the document's address">the address</span>
+    of the <code>Document</code> from which the user navigated to this
+    one, unless it was blocked or there was no such document, in which
+    case it returns the empty string.</p>
+
     <p>The <code title="rel-noreferrer">noreferrer</code> link
     type can be used to block the referrer.</p>
+
    </dd>
 
   </dl>
@@ -10220,10 +10227,10 @@
 
   <p>The <dfn
   title="dom-document-referrer"><code>referrer</code></dfn> attribute
-  must return either the <span title="the document's current
-  address">current address</span> of the <span>active document</span>
-  of the <span>source browsing context</span> <em>at the time the
-  navigation was started</em> (that is, the page which <span
+  must return either the <span title="the document's
+  address">address</span> of the <span>active document</span> of the
+  <span>source browsing context</span> <em>at the time the navigation
+  was started</em> (that is, the page which <span
   title="navigate">navigated</span> the <span>browsing context</span>
   to the current document), with any <span
   title="url-fragment"><fragment></span> component removed; or
@@ -68687,8 +68694,8 @@
 
    <dd>The request must include a <code
    title="http-referer">Referer</code> (sic) HTTP header with, as its
-   value, the <span title="the document's current address">current
-   address</span> of the document containing the hyperlink, a <code
+   value, the <span title="the document's address">address</span> of
+   the document containing the hyperlink, a <code
    title="http-ping-from">Ping-From</code> HTTP header with the same
    value, and a <code title="http-ping-to">Ping-To</code> HTTP header
    with, as its value, the address of the target of the
@@ -74018,8 +74025,8 @@
 
    <li><p><span>Add a vCard line</span> with the type "<code
    title="">SOURCE</code>" and the result of <span>escaping the vCard
-   text string</span> that is <span>the document's current
-   address</span> as the value to <var title="">output</var>.</p></li>
+   text string</span> that is <span>the document's address</span> as
+   the value to <var title="">output</var>.</p></li>
 
    <li><p>If <span>the <code>title</code> element</span> is not null,
    <span>add a vCard line</span> with the type "<code
@@ -79226,8 +79233,8 @@
 
    <li>
 
-    <p>Set <span>the document's current address</span> to <var
-    title="">new URL</var>.</p>
+    <p>Set <span>the document's address</span> to <var title="">new
+    URL</var>.</p>
 
     <p class="note">Since this is neither a <span
     title="navigate">navigation</span> of the <span>browsing
@@ -79404,11 +79411,11 @@
   </div>
 
   <p><code>Location</code> objects provide a representation of <span
-  title="the document's current address">their document's current
-  address</span>, and allow the <span>current entry</span> of the
-  <span>browsing context</span>'s session history to be changed, by
-  adding or replacing entries in the <code
-  title="dom-history">history</code> object.</p>
+  title="the document's address">their document's address</span>, and
+  allow the <span>current entry</span> of the <span>browsing
+  context</span>'s session history to be changed, by adding or
+  replacing entries in the <code title="dom-history">history</code>
+  object.</p>
 
   <pre class="idl">interface <dfn>Location</dfn> {
   stringifier attribute DOMString <span title="dom-location-href">href</span>;
@@ -79467,9 +79474,9 @@
   <div class="impl">
 
   <p>The <dfn title="dom-location-href"><code>href</code></dfn>
-  attribute must return <span title="the document's current
-  address">the current address</span> of the associated
-  <code>Document</code> object, as an <span>absolute URL</span>.</p>
+  attribute must return <span title="the document's address">the
+  address</span> of the associated <code>Document</code> object, as an
+  <span>absolute URL</span>.</p>
 
   <p>On setting, if the <code>Location</code> object's associated
   <code>Document</code> object has <span>completely loaded</span>,
@@ -79552,7 +79559,7 @@
    <dt>Otherwise</dt>
 
    <dd><p><span>Navigate</span><!--DONAV location.reload()--> the
-   <span>browsing context</span> to <span>the document's current
+   <span>browsing context</span> to <span>the document's
    address</span> with <span>replacement enabled</span>. The
    <span>source browsing context</span> must be the <span>browsing
    context</span> being navigated.</p></dd> <!-- it appears that
@@ -79591,14 +79598,13 @@
   class="impl">These must follow the rules given for <span>URL
   decomposition IDL attributes</span>, with the <span
   title="concept-uda-input">input</span> being <span title="the
-  document's current address">the current address</span> of the
-  associated <code>Document</code> object, as an <span>absolute
-  URL</span> (same as the <code title="dom-location-href">href</code>
-  attribute), and the <span title="concept-uda-setter">common setter
-  action</span> being the same as setting the <code
+  document's address">the address</span> of the associated
+  <code>Document</code> object, as an <span>absolute URL</span> (same
+  as the <code title="dom-location-href">href</code> attribute), and
+  the <span title="concept-uda-setter">common setter action</span>
+  being the same as setting the <code
   title="dom-location-href">href</code> attribute to the new output
-  value.</span></p>
-<!--TOPIC:HTML-->
+  value.</span></p> <!--TOPIC:HTML-->
 
 
 <!--ADD-TOPIC:Security-->
@@ -80389,10 +80395,10 @@
    these steps.</p></li>
 
    <li><p><span>Scroll to the fragment identifier</span> given in
-   <span>the document's current address</span>. If this fails to find
-   <span title="the indicated part of the document">an indicated part
-   of the document</span>, then return to the <i>fragment identifier
-   loop</i> step.</p></li>
+   <span>the document's address</span>. If this fails to find <span
+   title="the indicated part of the document">an indicated part of the
+   document</span>, then return to the <i>fragment identifier loop</i>
+   step.</p></li>
 
   </ol>
 
@@ -80775,7 +80781,7 @@
 
    <li><p><span>Traverse the history</span> to the new entry. This
    will <span>scroll to the fragment identifier</span> given in what
-   is now <span>the document's current address</span>.</p></li>
+   is now <span>the document's address</span>.</p></li>
 
   </ol>
 
@@ -80999,8 +81005,8 @@
 
    </li>
 
-   <li><p>Set <span>the document's current address</span> to the URL
-   of the <var title="">specified entry</var>.</p></li>
+   <li><p>Set <span>the document's address</span> to the URL of the
+   <var title="">specified entry</var>.</p></li>
 
    <li><p>If the <var title="">specified entry</var> has a URL whose
    fragment identifier differs from that of the <span>current
@@ -84428,8 +84434,8 @@
 
     <p class="example">When a script <span
     title="fetch">fetches</span> a resource, the <span title="the
-    document's current address">current address</span> of the
-    <span>script's document</span> will be used to set the <code
+    document's address">address</span> of the <span>script's
+    document</span> will be used to set the <code
     title="http-referer">Referer</code> (sic) header.</p>
 
    </dd>
@@ -91153,7 +91159,7 @@
      </tr>
      <tr>
       <td>Any other case</td>
-      <td>"<code title="">copy</code>", or, <span title="concept-platform-dropEffect-override">if appropriate</span>, either "<code title="">link</code>" or "<code title="">move</code>"</td></td>
+      <td>"<code title="">copy</code>", or, <span title="concept-platform-dropEffect-override">if appropriate</span>, either "<code title="">link</code>" or "<code title="">move</code>"</td>
      </tr>
     </table>
 
@@ -91680,7 +91686,7 @@
           <p>Otherwise, <span>fire a DND event</span> named <code
           title="event-dragenter">dragenter</code> at <var
           title="">new target</var>. Then, set the <span>current
-          target element</span> to <var title="">new target</var,
+          target element</span> to <var title="">new target</var>,
           regardless of whether that event was canceled or not.</p>
 
          </dd>
@@ -120146,7 +120152,7 @@
     <tr>
      <td> <code title="event-hashchange">hashchange</code>
      <td> <code>HashChangeEvent</code>
-     <td> Fired at the <code>Window</code> when the fragment identifier part of <span>the document's current address</span> changes
+     <td> Fired at the <code>Window</code> when the fragment identifier part of <span>the document's address</span> changes
 
     <tr>
      <td> <code title="event-input">input</code>




More information about the Commit-Watchers mailing list