Skip to content

Commit

Permalink
[giow] (2) Don't unload a document when navigating within it in sessi…
Browse files Browse the repository at this point in the history
…on history.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11433

git-svn-id: http://svn.whatwg.org/webapps@5758 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jan 10, 2011
1 parent 9e4f095 commit 5ba6e67
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 25 deletions.
25 changes: 17 additions & 8 deletions complete.html
Expand Up @@ -59563,15 +59563,24 @@ <h4 id=the-history-interface><span class=secno>6.4.2 </span>The <code><a href=#h
<a href=#browsing-context>browsing context</a> of the <var title="">specified
entry</var>.</li>

<li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
<a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
abort these steps.</li>
<li>

<li><p><a href=#unload-a-document title="unload a document">Unload</a> the
<a href=#active-document>active document</a> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</li>
<p>If the <var title="">specified browsing context</var>'s
<a href=#active-document>active document</a> is not the same <code><a href=#document>Document</a></code>
as the <code><a href=#document>Document</a></code> of the <var title="">specified
entry</var>, then run these substeps:</p>

<ol><li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
<a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
abort these steps.</li>

<li><p><a href=#unload-a-document title="unload a document">Unload</a> the
<a href=#active-document>active document</a> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</li>

</ol></li>

<li><p><a href=#traverse-the-history>Traverse the history</a> of the <var title="">specified browsing context</var> to the <var title="">specified entry</var>.</p>

Expand Down
25 changes: 17 additions & 8 deletions index
Expand Up @@ -59545,15 +59545,24 @@ x === this; // true</pre>
<a href=#browsing-context>browsing context</a> of the <var title="">specified
entry</var>.</li>

<li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
<a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
abort these steps.</li>
<li>

<li><p><a href=#unload-a-document title="unload a document">Unload</a> the
<a href=#active-document>active document</a> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</li>
<p>If the <var title="">specified browsing context</var>'s
<a href=#active-document>active document</a> is not the same <code><a href=#document>Document</a></code>
as the <code><a href=#document>Document</a></code> of the <var title="">specified
entry</var>, then run these substeps:</p>

<ol><li><p><a href=#prompt-to-unload-a-document title="prompt to unload a document">Prompt to
unload</a> the <a href=#active-document>active document</a> of the <var title="">specified browsing context</var>. If the user
<a href=#refused-to-allow-the-document-to-be-unloaded>refused to allow the document to be unloaded</a>, then
abort these steps.</li>

<li><p><a href=#unload-a-document title="unload a document">Unload</a> the
<a href=#active-document>active document</a> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</li>

</ol></li>

<li><p><a href=#traverse-the-history>Traverse the history</a> of the <var title="">specified browsing context</var> to the <var title="">specified entry</var>.</p>

Expand Down
31 changes: 22 additions & 9 deletions source
Expand Up @@ -67673,16 +67673,29 @@ x === this; // true</pre>
<span>browsing context</span> of the <var title="">specified
entry</var>.</p></li>

<li><p><span title="prompt to unload a document">Prompt to
unload</span> the <span>active document</span> of the <var
title="">specified browsing context</var>. If the user
<span>refused to allow the document to be unloaded</span>, then
abort these steps.</p></li>
<li>

<li><p><span title="unload a document">Unload</span> the
<span>active document</span> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</p></li>
<p>If the <var title="">specified browsing context</var>'s
<span>active document</span> is not the same <code>Document</code>
as the <code>Document</code> of the <var title="">specified
entry</var>, then run these substeps:</p>

<ol>

<li><p><span title="prompt to unload a document">Prompt to
unload</span> the <span>active document</span> of the <var
title="">specified browsing context</var>. If the user
<span>refused to allow the document to be unloaded</span>, then
abort these steps.</p></li>

<li><p><span title="unload a document">Unload</span> the
<span>active document</span> of the <var title="">specified
browsing context</var> with the <var title="">recycle</var>
parameter set to false.</p></li>

</ol>

</li>

<li><p><span>Traverse the history</span> of the <var
title="">specified browsing context</var> to the <var
Expand Down

0 comments on commit 5ba6e67

Please sign in to comment.