[html5] r5758 - [giow] (2) Don't unload a document when navigating within it in session history. [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Jan 10 14:58:33 PST 2011


Author: ianh
Date: 2011-01-10 14:58:32 -0800 (Mon, 10 Jan 2011)
New Revision: 5758

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Don't unload a document when navigating within it in session history.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=11433

Modified: complete.html
===================================================================
--- complete.html	2011-01-10 22:53:32 UTC (rev 5757)
+++ complete.html	2011-01-10 22:58:32 UTC (rev 5758)
@@ -59563,16 +59563,25 @@
    <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>
 
   </ol><p>When the user navigates through a <a href=#browsing-context>browsing context</a>,

Modified: index
===================================================================
--- index	2011-01-10 22:53:32 UTC (rev 5757)
+++ index	2011-01-10 22:58:32 UTC (rev 5758)
@@ -59545,16 +59545,25 @@
    <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>
 
   </ol><p>When the user navigates through a <a href=#browsing-context>browsing context</a>,

Modified: source
===================================================================
--- source	2011-01-10 22:53:32 UTC (rev 5757)
+++ source	2011-01-10 22:58:32 UTC (rev 5758)
@@ -67673,17 +67673,30 @@
    <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
    title="">specified entry</var>.</p>




More information about the Commit-Watchers mailing list