HTML Standard Tracker


File a bug

SVNBugCommentTime (UTC)
2044One area with lack of interop is whether scripts run while alert()s are up. Let's disallow it, to get more predictable behaviour.2008-08-11 08:17
@@ -30445,20 +30445,24 @@ JSURL:
   <p>The initial value of <code title="handler-onerror">onerror</code>
   must be <code>undefined</code>.</p>
   <h3>User prompts</h3>
+  <p>User agents must not run scripts from the same <span>unit of
+  related browsing contexts</span> as the script that invoked the
+  following methods while the methods are waiting for user input.</p>
   <h4>Simple dialogs</h4>
   <p>The <dfn 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 <span>pause</span>
   while the method is waiting.</p>
   <p>The <dfn title="dom-confirm"><code>confirm(<var