[Webkit-unassigned] [Bug 33962] 'blur' event fired while modal dialog box is up

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 27 15:47:16 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33962





--- Comment #12 from James Robinson <jamesr at chromium.org>  2010-01-27 15:47:14 PST ---
FYI, html5 dictates the following:

window.alert(), window.pause(), and window.prompt() all require the user agent
to 'pause' which is defined at http://dev.w3.org/html5/spec/Overview.html#pause
as:

Some of the algorithms in this specification, for historical reasons, require
the user agent to pause while running a task until some condition has been met.
While a user agent has a paused task, the corresponding event loop must not run
further tasks, and any script in the currently running task must block. User
agents should remain responsive to user input while paused, however, albeit in
a reduced capacity since the event loop will not be doing anything.

window.showModalDialog() has a slightly different behavior in the spec:

Disable the user interface for all the browsing contexts in the list of
background browsing contexts. This should prevent the user from navigating
those browsing contexts, causing events to be sent to those browsing context,
or editing any content in those browsing contexts. However, it does not prevent
those browsing contexts from receiving events from sources other than the user,
from running scripts, from running animations, and so forth.

http://dev.w3.org/html5/spec/Overview.html#dom-showmodaldialog

Both seem to prohibit firing any events at the page opening the dialog.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list