[html5] r1509 - /

whatwg at whatwg.org whatwg at whatwg.org
Tue Apr 29 04:02:55 PDT 2008


Author: ianh
Date: 2008-04-29 04:02:55 -0700 (Tue, 29 Apr 2008)
New Revision: 1509

Modified:
   index
   source
Log:
[] (0) Define the origin of javascript: and data: URIs that were the result of an HTTP redirect (and minor editorial fixes)

Modified: index
===================================================================
--- index	2008-04-29 09:10:26 UTC (rev 1508)
+++ index	2008-04-29 11:02:55 UTC (rev 1509)
@@ -27091,10 +27091,6 @@
 
   <h3 id=origin><span class=secno>4.3 </span>Origin</h3>
   <!-- Hallowed are the Ori -->
-  <!--
-    https://bugzilla.mozilla.org/show_bug.cgi?id=346659
-    https://bugzilla.mozilla.org/show_bug.cgi?id=344495
-  -->
 
   <p>The <dfn id=origin0>origin</dfn> of a resource and the <dfn
    id=effective3>effective script origin</dfn> of a resource are both either
@@ -27177,6 +27173,13 @@
      <dd>The owner is the script that created it.
 
      <dt>If a script is a <a href="#the-javascript" title="javascript
+      protocol"><code title="">javascript:</code> URI</a> that was returned
+      as the location of an HTTP redirect (or equivalent in other protocols)
+
+     <dd>The owner is URI that redirected to the <a href="#the-javascript"
+      title="javascript protocol"><code title="">javascript:</code> URI</a>.
+
+     <dt>If a script is a <a href="#the-javascript" title="javascript
       protocol"><code title="">javascript:</code> URI</a> in an attribute
 
      <dd>The owner is the <code>Document</code> of the element on which the
@@ -27253,7 +27256,8 @@
      <dt>If a <code>Document</code> or image was obtained in some other
       manner (e.g. a <code>data:</code> URI typed in by the user, a
       <code>Document</code> created using the <code
-      title="">createDocument()</code> API)
+      title="">createDocument()</code> API, a <code>data:</code> URI returned
+      as the location of an HTTP redirect, etc)
 
      <dd>The origin is a globally unique identifier assigned when the
       <code>Document</code> or image is created.

Modified: source
===================================================================
--- source	2008-04-29 09:10:26 UTC (rev 1508)
+++ source	2008-04-29 11:02:55 UTC (rev 1509)
@@ -24786,11 +24786,6 @@
   <h3>Origin</h3>
   <!-- Hallowed are the Ori -->
 
-  <!--
-    https://bugzilla.mozilla.org/show_bug.cgi?id=346659
-    https://bugzilla.mozilla.org/show_bug.cgi?id=344495
-  -->
-
   <p>The <dfn>origin</dfn> of a resource and the <dfn>effective script
   origin</dfn> of a resource are both either opaque identifiers or
   tuples consisting of a scheme component, a host component, and a
@@ -24881,6 +24876,16 @@
 
 
      <dt>If a script is a <span title="javascript protocol"><code
+     title="">javascript:</code> URI</span> that was returned as the
+     location of an HTTP redirect (or equivalent in other
+     protocols)</dt>
+
+     <dd>The owner is URI that redirected to the <span
+     title="javascript protocol"><code title="">javascript:</code>
+     URI</span>.</dd>
+
+
+     <dt>If a script is a <span title="javascript protocol"><code
      title="">javascript:</code> URI</span> in an attribute</dt>
 
      <dd>The owner is the <code>Document</code> of the element on
@@ -24899,8 +24904,8 @@
      the URI having been provided by the user (e.g. by using a
      <i>bookmarklet</i>)</dt>
 
-     <dd>The owner is the <code>Document</code> of the
-     <span>browsing context</span>'s <span>active document</span>.</dd>
+     <dd>The owner is the <code>Document</code> of the <span>browsing
+     context</span>'s <span>active document</span>.</dd>
 
 
      <dt>If a script is a <span title="javascript protocol"><code
@@ -24908,8 +24913,8 @@
      context</span> is being <span title="navigate">navigated</span>,
      the URI having been declared in markup</dt>
 
-     <dd>The owner is the <code>Document</code> of the
-     element (e.g. an <code>a</code> or <code>area</code> element) that
+     <dd>The owner is the <code>Document</code> of the element
+     (e.g. an <code>a</code> or <code>area</code> element) that
      declared the URI.</dd>
 
 
@@ -24918,8 +24923,7 @@
      context</span> is being <span title="navigate">navigated</span>,
      the URI having been provided by script</dt>
 
-     <dd>The owner is the script that provided the
-     URI.</dd>
+     <dd>The owner is the script that provided the URI.</dd>
 
     </dl>
 
@@ -24971,7 +24975,8 @@
      <dt>If a <code>Document</code> or image was obtained in some
      other manner (e.g. a <code>data:</code> URI typed in by the user,
      a <code>Document</code> created using the <code
-     title="">createDocument()</code> API)</dt>
+     title="">createDocument()</code> API, a <code>data:</code> URI
+     returned as the location of an HTTP redirect, etc)</dt>
 
      <dd>The origin is a globally unique identifier assigned when the
      <code>Document</code> or image is created.</dd>




More information about the Commit-Watchers mailing list