Skip to content

Commit

Permalink
[giow] (3) Allow UAs to implement abuse protection in alert() and com…
Browse files Browse the repository at this point in the history
…pany.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16100
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7431 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 2, 2012
1 parent bd0d971 commit 1a0b1d0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions complete.html
Expand Up @@ -76573,6 +76573,10 @@ <h4 id=simple-dialogs><span class=secno>7.4.1 </span>Simple dialogs</h4>

<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>

Expand All @@ -76588,6 +76592,10 @@ <h4 id=simple-dialogs><span class=secno>7.4.1 </span>Simple dialogs</h4>

<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>
Expand All @@ -76607,6 +76615,10 @@ <h4 id=simple-dialogs><span class=secno>7.4.1 </span>Simple dialogs</h4>

<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
Expand Down
12 changes: 12 additions & 0 deletions index
Expand Up @@ -76573,6 +76573,10 @@ setTimeout({ toString: function () {

<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>

Expand All @@ -76588,6 +76592,10 @@ setTimeout({ toString: function () {

<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>
Expand All @@ -76607,6 +76615,10 @@ setTimeout({ toString: function () {

<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
Expand Down
12 changes: 12 additions & 0 deletions source
Expand Up @@ -89560,6 +89560,10 @@ setTimeout({ toString: function () {

<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>

Expand All @@ -89580,6 +89584,10 @@ setTimeout({ toString: function () {

<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>
Expand All @@ -89604,6 +89612,10 @@ setTimeout({ toString: function () {

<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
Expand Down

0 comments on commit 1a0b1d0

Please sign in to comment.