Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (1) Kill History objects on non-active docs
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23359
Affected topics: DOM APIs, Offline Web Applications, Security

git-svn-id: http://svn.whatwg.org/webapps@8302 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 19, 2013
1 parent ed8d4e2 commit 1a5a834
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
9 changes: 9 additions & 0 deletions complete.html
Expand Up @@ -65870,6 +65870,13 @@ <h4 id=the-history-interface><span class=secno>6.5.2 </span>The <code><a href=#h

<div class=impl>

<!--ADD-TOPIC:Security-->
<p>All the getters and setters for attributes, and all the methods, defined on the
<code><a href=#history-0>History</a></code> interface, when invoked on a <code><a href=#history-0>History</a></code> object associated with a
<code><a href=#document>Document</a></code> that is not <a href=#fully-active>fully active</a>, must throw a
<code><a href=#securityerror>SecurityError</a></code> exception instead of operating as described below.</p>
<!--REMOVE-TOPIC:Security-->

<p>The <dfn id=dom-history-length title=dom-history-length><code>length</code></dfn> attribute of the
<code><a href=#history-0>History</a></code> interface must return the number of entries in the <a href=#top-level-browsing-context>top-level browsing
context</a>'s <a href=#joint-session-history>joint session history</a>.</p>
Expand Down Expand Up @@ -68852,9 +68859,11 @@ <h5 id=parsing-cache-manifests><span class=secno>6.7.3.3 </span>Parsing cache ma

<p>If either fails, then jump back to the step labeled <i>start of line</i>.</p>

<!--ADD-TOPIC:Security-->
<p>If the <a href=#absolute-url>absolute URL</a> corresponding to either <var title="">part one</var> or
<var title="">part two</var> does not have the <a href=#same-origin>same origin</a> as the manifest's URL,
then jump back to the step labeled <i>start of line</i>.</p> <!-- SECURITY -->
<!--REMOVE-TOPIC:Security-->

<p>Let <var title="">part one</var> be the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to the first resulting
<a href=#parsed-url>parsed URL</a>, with the <i>exclude fragment flag</i> set.</p>
Expand Down
9 changes: 9 additions & 0 deletions index
Expand Up @@ -65870,6 +65870,13 @@ x === this; // true</pre>

<div class=impl>

<!--ADD-TOPIC:Security-->
<p>All the getters and setters for attributes, and all the methods, defined on the
<code><a href=#history-0>History</a></code> interface, when invoked on a <code><a href=#history-0>History</a></code> object associated with a
<code><a href=#document>Document</a></code> that is not <a href=#fully-active>fully active</a>, must throw a
<code><a href=#securityerror>SecurityError</a></code> exception instead of operating as described below.</p>
<!--REMOVE-TOPIC:Security-->

<p>The <dfn id=dom-history-length title=dom-history-length><code>length</code></dfn> attribute of the
<code><a href=#history-0>History</a></code> interface must return the number of entries in the <a href=#top-level-browsing-context>top-level browsing
context</a>'s <a href=#joint-session-history>joint session history</a>.</p>
Expand Down Expand Up @@ -68852,9 +68859,11 @@ NETWORK:

<p>If either fails, then jump back to the step labeled <i>start of line</i>.</p>

<!--ADD-TOPIC:Security-->
<p>If the <a href=#absolute-url>absolute URL</a> corresponding to either <var title="">part one</var> or
<var title="">part two</var> does not have the <a href=#same-origin>same origin</a> as the manifest's URL,
then jump back to the step labeled <i>start of line</i>.</p> <!-- SECURITY -->
<!--REMOVE-TOPIC:Security-->

<p>Let <var title="">part one</var> be the result of applying the <a href=#concept-url-serializer title=concept-url-serializer>URL serializer</a> algorithm to the first resulting
<a href=#parsed-url>parsed URL</a>, with the <i>exclude fragment flag</i> set.</p>
Expand Down
9 changes: 9 additions & 0 deletions source
Expand Up @@ -73352,6 +73352,13 @@ x === this; // true</pre>

<div class="impl">

<!--ADD-TOPIC:Security-->
<p>All the getters and setters for attributes, and all the methods, defined on the
<code>History</code> interface, when invoked on a <code>History</code> object associated with a
<code>Document</code> that is not <span>fully active</span>, must throw a
<code>SecurityError</code> exception instead of operating as described below.</p>
<!--REMOVE-TOPIC:Security-->

<p>The <dfn data-x="dom-history-length"><code>length</code></dfn> attribute of the
<code>History</code> interface must return the number of entries in the <span>top-level browsing
context</span>'s <span>joint session history</span>.</p>
Expand Down Expand Up @@ -76772,9 +76779,11 @@ NETWORK:

<p>If either fails, then jump back to the step labeled <i>start of line</i>.</p>

<!--ADD-TOPIC:Security-->
<p>If the <span>absolute URL</span> corresponding to either <var data-x="">part one</var> or
<var data-x="">part two</var> does not have the <span>same origin</span> as the manifest's URL,
then jump back to the step labeled <i>start of line</i>.</p> <!-- SECURITY -->
<!--REMOVE-TOPIC:Security-->

<p>Let <var data-x="">part one</var> be the result of applying the <span
data-x="concept-url-serializer">URL serializer</span> algorithm to the first resulting
Expand Down

0 comments on commit 1a5a834

Please sign in to comment.