Skip to content

Commit

Permalink
[] (0) Define localStorage in terms of script origins, not script bro…
Browse files Browse the repository at this point in the history
…wsing context origins.

git-svn-id: http://svn.whatwg.org/webapps@2022 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 6, 2008
1 parent 46d28a2 commit 7e14501
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
3 changes: 1 addition & 2 deletions index
Expand Up @@ -36826,8 +36826,7 @@ user reload must be equivalent to .reload()
<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
Expand Down
5 changes: 2 additions & 3 deletions source
Expand Up @@ -34177,9 +34177,8 @@ user reload must be equivalent to .reload()
<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
Expand Down

0 comments on commit 7e14501

Please sign in to comment.