- From: poot <cvsmail@w3.org>
- Date: Thu, 26 Mar 2009 17:10:48 +0900 (JST)
- To: public-html-diffs@w3.org
Release the storage lock whenever something modal happens, like window.alert(), or printing. (whatwg r2916) 5.6.3 Dialogs implemented using separate documents http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#dialogs-implemented-using-separate-documents prompt(message, default) http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#dom-prompt showModalDialog(url, argument) http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#dom-showmodaldialog 5.6.2 Printing http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#printing alert(message) http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#dom-alert 5.6.1 Simple dialogs http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#simple-dialogs printing steps http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#printing-steps confirm(message) http://people.w3.org/mike/diffs/html5/spec/Overview.1.2082.html#dom-confirm http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2081&r2=1.2082&f=h http://html5.org/tools/web-apps-tracker?from=2915&to=2916 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2081 retrieving revision 1.2082 diff -u -d -r1.2081 -r1.2082 --- Overview.html 26 Mar 2009 04:31:47 -0000 1.2081 +++ Overview.html 26 Mar 2009 08:08:37 -0000 1.2082 @@ -36753,6 +36753,9 @@ <p>Displays a modal alert with the given message, and waits for the user to dismiss it.</p> + <p>A call to the <code title=dom-navigator-getStorageUpdates><a href=#dom-navigator-getstorageupdates>navigator.getStorageUpdates()</a></code> + method is implied when this method is invoked.</p> + </dd> <dt><var title="">result</var> = <var title="">window</var> . <code title=dom-confirm><a href=#dom-confirm>confirm</a></code>(<var title="">message</var>)</dt> @@ -36762,6 +36765,9 @@ for the user to dismiss it, and returns true if the user clicks OK and false if the user clicks Cancel.</p> + <p>A call to the <code title=dom-navigator-getStorageUpdates><a href=#dom-navigator-getstorageupdates>navigator.getStorageUpdates()</a></code> + method is implied when this method is invoked.</p> + </dd> <dt><var title="">result</var> = <var title="">window</var> . <code title=dom-prompt><a href=#dom-prompt>prompt</a></code>(<var title="">message</var> [, <var title="">default</var>] )</dt> @@ -36773,28 +36779,31 @@ instead. If the second argument is present, then the given value is used as a default.</p> + <p>A call to the <code title=dom-navigator-getStorageUpdates><a href=#dom-navigator-getstorageupdates>navigator.getStorageUpdates()</a></code> + method is implied when this method is invoked.</p> + </dd> </dl><div class=impl> - <p>The <dfn id=dom-alert title=dom-alert><code>alert(<var title="">message</var>)</code></dfn> method, when invoked, must show - the given <var title="">message</var> to the user. The user agent - may make the method wait for the user to acknowledge the message - before returning; if so, the user agent must <a href=#pause>pause</a> - while the method is waiting.</p> + <p>The <dfn id=dom-alert title=dom-alert><code>alert(<var title="">message</var>)</code></dfn> method, when invoked, must + release the <a href=#storage-mutex>storage mutex</a> and show the given <var title="">message</var> to the user. The user agent may make the + method wait for the user to acknowledge the message before + returning; if so, the user agent must <a href=#pause>pause</a> while the + method is waiting.</p> - <p>The <dfn id=dom-confirm title=dom-confirm><code>confirm(<var title="">message</var>)</code></dfn> method, when invoked, must show - the given <var title="">message</var> to the user, and ask the user - to respond with a positive or negative response. The user agent must - then <a href=#pause>pause</a> as the method waits for the user's - response. If the user responds positively, the method must return - true, and if the user responds negatively, the method must return - false.</p> + <p>The <dfn id=dom-confirm title=dom-confirm><code>confirm(<var title="">message</var>)</code></dfn> method, when invoked, must + release the <a href=#storage-mutex>storage mutex</a> andshow the given <var title="">message</var> to the user, and ask the user to respond with + a positive or negative response. The user agent must then + <a href=#pause>pause</a> as the method waits for the user's response. If + the user responds positively, the method must return true, and if + the user responds negatively, the method must return false.</p> <p>The <dfn id=dom-prompt title=dom-prompt><code>prompt(<var title="">message</var>, <var title="">default</var>)</code></dfn> - method, when invoked, must show the given <var title="">message</var> to the user, and ask the user to either - respond with a string value or abort. The user agent must then - <a href=#pause>pause</a> as the method waits for the user's + method, when invoked, must release the <a href=#storage-mutex>storage mutex</a>, + show the given <var title="">message</var> to the user, and ask the + user to either respond with a string value or abort. The user agent + must then <a href=#pause>pause</a> as the method waits for the user's response. The second argument is optional. If the second argument (<var title="">default</var>) is present, then the response must be defaulted to the value given by <var title="">default</var>. If the @@ -36807,6 +36816,9 @@ <p>Prompts the user to print the page.</p> + <p>A call to the <code title=dom-navigator-getStorageUpdates><a href=#dom-navigator-getstorageupdates>navigator.getStorageUpdates()</a></code> + method is implied when this method is invoked.</p> + </dd> </dl><div class=impl> @@ -36852,6 +36864,12 @@ <li> + <p>The user agent must release the <a href=#storage-mutex>storage mutex</a>.</p> + + </li> + + <li> + <p>The user agent should offer the user the opportunity to <a href=#obtain-a-physical-form>obtain a physical form</a> (or the representation of a physical form) of the document. The user agent may wait for the @@ -36888,6 +36906,9 @@ <p>Prompts the user with the given page, waits for that page to close, and returns the return value.</p> + <p>A call to the <code title=dom-navigator-getStorageUpdates><a href=#dom-navigator-getstorageupdates>navigator.getStorageUpdates()</a></code> + method is implied when this method is invoked.</p> + </dd> </dl><div class=impl> @@ -36904,6 +36925,14 @@ <p>If this fails, then throw a <code><a href=#syntax_err>SYNTAX_ERR</a></code> exception and abort these steps.</p> + </li> + + <li> + + <p>Release the <a href=#storage-mutex>storage mutex</a>.</p> + + </li> + <li> <p>If the user agent is configured such that this invocation of
Received on Thursday, 26 March 2009 08:11:28 UTC