[html5] r2022 - [] (0) Define localStorage in terms of script origins, not script browsing conte [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Aug 5 17:51:45 PDT 2008


Author: ianh
Date: 2008-08-05 17:51:45 -0700 (Tue, 05 Aug 2008)
New Revision: 2022

Modified:
   index
   source
Log:
[] (0) Define localStorage in terms of script origins, not script browsing context origins.

Modified: index
===================================================================
--- index	2008-08-06 00:28:16 UTC (rev 2021)
+++ index	2008-08-06 00:51:45 UTC (rev 2022)
@@ -36826,8 +36826,7 @@
   <p>When the <code title=dom-localStorage><a
    href="#localstorage">localStorage</a></code> attribute is accessed, the
    user agent must check to see if it has allocated local storage area for
-   the <a href="#origin0">origin</a> of the <a href="#browsing1">browsing
-   context</a> within which the script is running. If it has not, a new
+   the <a href="#origin0">origin</a> of the script. If it has not, a new
    storage area for that <a href="#origin0">origin</a> must be created.
 
   <p>The user agent must then create a <code><a

Modified: source
===================================================================
--- source	2008-08-06 00:28:16 UTC (rev 2021)
+++ source	2008-08-06 00:51:45 UTC (rev 2022)
@@ -34177,9 +34177,8 @@
   <p>When the <code title="dom-localStorage">localStorage</code>
   attribute is accessed, the user agent must check to see if it has
   allocated local storage area for the <span>origin</span> of the
-  <span>browsing context</span> within which the script is running. If
-  it has not, a new storage area for that <span>origin</span> must be
-  created.</p>
+  script. If it has not, a new storage area for that
+  <span>origin</span> must be created.</p>
 
   <p>The user agent must then create a <code>Storage</code> object
   associated with that origin's local storage area, and return




More information about the Commit-Watchers mailing list