[html5] r7377 - [giow] (3) When you call back() or forward() or go(), cancel any existing naviga [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 18 17:16:37 PDT 2012
Author: ianh
Date: 2012-09-18 17:16:35 -0700 (Tue, 18 Sep 2012)
New Revision: 7377
Modified:
complete.html
index
source
Log:
[giow] (3) When you call back() or forward() or go(), cancel any existing navigation algorithms. But don't support back(), etc, during unload, since that can lead to griefing. (I didn't test the latter with browsers. The former is based on http://lists.w3.org/Archives/Public/public-whatwg-archive/2012Sep/0218.html .)
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2012-09-19 00:11:36 UTC (rev 7376)
+++ complete.html 2012-09-19 00:16:35 UTC (rev 7377)
@@ -69847,6 +69847,16 @@
greater than or equal to the number of items in the <a href=#joint-session-history>joint
session history</a>, then abort these steps.</p>
+ <li><p>If the <code><a href=#document>Document</a></code>'s <a href=#unload-a-document>unload a
+ document</a> algorithm is currently running, abort these
+ steps.</li>
+
+ <li><p>If there is an ongoing attempt to navigate the
+ <a href=#browsing-context>browsing context</a> that has not yet <a href=#concept-navigate-mature title=concept-navigate-mature>matured</a> (i.e. it has not
+ passed the point of making its <code><a href=#document>Document</a></code> the
+ <a href=#active-document>active document</a>), then cancel that attempt to navigate
+ the <a href=#browsing-context>browsing context</a>.</li>
+
<li><p>Let <var title="">specified entry</var> be the entry in the
<a href=#joint-session-history>joint session history</a> whose index is the sum of <var title="">delta</var> and the index of the <a href=#current-entry-of-the-joint-session-history>current entry of
the joint session history</a>.</li>
Modified: index
===================================================================
--- index 2012-09-19 00:11:36 UTC (rev 7376)
+++ index 2012-09-19 00:16:35 UTC (rev 7377)
@@ -69847,6 +69847,16 @@
greater than or equal to the number of items in the <a href=#joint-session-history>joint
session history</a>, then abort these steps.</p>
+ <li><p>If the <code><a href=#document>Document</a></code>'s <a href=#unload-a-document>unload a
+ document</a> algorithm is currently running, abort these
+ steps.</li>
+
+ <li><p>If there is an ongoing attempt to navigate the
+ <a href=#browsing-context>browsing context</a> that has not yet <a href=#concept-navigate-mature title=concept-navigate-mature>matured</a> (i.e. it has not
+ passed the point of making its <code><a href=#document>Document</a></code> the
+ <a href=#active-document>active document</a>), then cancel that attempt to navigate
+ the <a href=#browsing-context>browsing context</a>.</li>
+
<li><p>Let <var title="">specified entry</var> be the entry in the
<a href=#joint-session-history>joint session history</a> whose index is the sum of <var title="">delta</var> and the index of the <a href=#current-entry-of-the-joint-session-history>current entry of
the joint session history</a>.</li>
Modified: source
===================================================================
--- source 2012-09-19 00:11:36 UTC (rev 7376)
+++ source 2012-09-19 00:16:35 UTC (rev 7377)
@@ -81675,6 +81675,17 @@
greater than or equal to the number of items in the <span>joint
session history</span>, then abort these steps.</p>
+ <li><p>If the <code>Document</code>'s <span>unload a
+ document</span> algorithm is currently running, abort these
+ steps.</p></li>
+
+ <li><p>If there is an ongoing attempt to navigate the
+ <span>browsing context</span> that has not yet <span
+ title="concept-navigate-mature">matured</span> (i.e. it has not
+ passed the point of making its <code>Document</code> the
+ <span>active document</span>), then cancel that attempt to navigate
+ the <span>browsing context</span>.</p></li>
+
<li><p>Let <var title="">specified entry</var> be the entry in the
<span>joint session history</span> whose index is the sum of <var
title="">delta</var> and the index of the <span>current entry of
More information about the Commit-Watchers
mailing list