hixie: Don't unload a document when navigating within it in session history. (whatwg r5758)

hixie: Don't unload a document when navigating within it in session
history. (whatwg r5758)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.4618&r2=1.4619&f=h
http://html5.org/tools/web-apps-tracker?from=5757&to=5758

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.4618
retrieving revision 1.4619
diff -u -d -r1.4618 -r1.4619
--- Overview.html 10 Jan 2011 22:53:39 -0000 1.4618
+++ Overview.html 10 Jan 2011 22:58:37 -0000 1.4619
@@ -43551,15 +43551,24 @@
    <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>

Received on Wednesday, 12 January 2011 02:44:05 UTC