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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 2 14:09:45 PST 2010


--- Comment #14 from James Robinson <jamesr at chromium.org>  2010-02-02 14:09:42 PST ---
I agree in principle, Dmitry.  Ideally we would not fire any events at a page
behind a modal dialog.  However, it makes sense to change this in smaller,
isolated changes just in case there's a web compat issue.  In particular
special casing focus/blur makes sense in the short term for the following

- This case is causing ASSERT failures on a very popular webpage (gmail).  I
don't know of any popular sites that trigger ASSERT failures on other events
(like onmessage).
- The blur event always fires when a modal dialog is opened up since the modal
dialog will gain focus.  This makes it much more likely to trigger bugs than
things like onmessage which are racy.
- The behavior in this patch matches a released browser (Safari 4.0.4), which
reduces the change of introducing new compat bugs.

Also this patch is quite tiny and doesn't touch anything as sensitive as the
core event handling logic.

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