Skip to content
Permalink
Browse files

[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 1a5a834776eb0c1e2203ffb229244959dc4b2905
Showing with 27 additions and 0 deletions.
  1. +9 −0 complete.html
  2. +9 −0 index
  3. +9 −0 source

<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>

<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>
9 index

<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>

<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>
9 source

<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>

<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

0 comments on commit 1a5a834

Please sign in to comment.
You can’t perform that action at this time.