[html5] r7431 - [giow] (3) Allow UAs to implement abuse protection in alert() and company. Fixin [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Oct 2 15:52:32 PDT 2012


Author: ianh
Date: 2012-10-02 15:52:31 -0700 (Tue, 02 Oct 2012)
New Revision: 7431

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Allow UAs to implement abuse protection in alert() and company.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16100
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-10-02 22:47:59 UTC (rev 7430)
+++ complete.html	2012-10-02 22:52:31 UTC (rev 7431)
@@ -76573,6 +76573,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, abort these steps. (For example, the user agent might give the user the option
+   to ignore all alerts, and would thus abort at this step whenever the method was
+   invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the
    user.</li>
 
@@ -76588,6 +76592,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, return false and abort these steps. (For example, the user agent might give
+   the user the option to ignore all prompts, and would thus abort at this step whenever the method
+   was invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to respond with a positive or negative
    response.</li>
@@ -76607,6 +76615,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, return null and abort these steps. (For example, the user agent might give the
+   user the option to ignore all prompts, and would thus abort at this step whenever the method was
+   invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to either respond with a string value or abort. The
    second argument is optional. If the second argument (<var title="">default</var>) is present, then the response must be

Modified: index
===================================================================
--- index	2012-10-02 22:47:59 UTC (rev 7430)
+++ index	2012-10-02 22:52:31 UTC (rev 7431)
@@ -76573,6 +76573,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, abort these steps. (For example, the user agent might give the user the option
+   to ignore all alerts, and would thus abort at this step whenever the method was
+   invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the
    user.</li>
 
@@ -76588,6 +76592,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, return false and abort these steps. (For example, the user agent might give
+   the user the option to ignore all prompts, and would thus abort at this step whenever the method
+   was invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to respond with a positive or negative
    response.</li>
@@ -76607,6 +76615,10 @@
 
    <li><p>Release the <a href=#storage-mutex>storage mutex</a>.</li>
 
+   <li><p>Optionally, return null and abort these steps. (For example, the user agent might give the
+   user the option to ignore all prompts, and would thus abort at this step whenever the method was
+   invoked.)</li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to either respond with a string value or abort. The
    second argument is optional. If the second argument (<var title="">default</var>) is present, then the response must be

Modified: source
===================================================================
--- source	2012-10-02 22:47:59 UTC (rev 7430)
+++ source	2012-10-02 22:52:31 UTC (rev 7431)
@@ -89560,6 +89560,10 @@
 
    <li><p>Release the <span>storage mutex</span>.</p></li>
 
+   <li><p>Optionally, abort these steps. (For example, the user agent might give the user the option
+   to ignore all alerts, and would thus abort at this step whenever the method was
+   invoked.)</p></li>
+
    <li><p>Show the given <var title="">message</var> to the
    user.</p></li>
 
@@ -89580,6 +89584,10 @@
 
    <li><p>Release the <span>storage mutex</span>.</p></li>
 
+   <li><p>Optionally, return false and abort these steps. (For example, the user agent might give
+   the user the option to ignore all prompts, and would thus abort at this step whenever the method
+   was invoked.)</p></li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to respond with a positive or negative
    response.</p></li>
@@ -89604,6 +89612,10 @@
 
    <li><p>Release the <span>storage mutex</span>.</p></li>
 
+   <li><p>Optionally, return null and abort these steps. (For example, the user agent might give the
+   user the option to ignore all prompts, and would thus abort at this step whenever the method was
+   invoked.)</p></li>
+
    <li><p>Show the given <var title="">message</var> to the user, and
    ask the user to either respond with a string value or abort. The
    second argument is optional. If the second argument (<var




More information about the Commit-Watchers mailing list