Closed Bug 1502982 Opened 5 years ago Closed 5 years ago
Fix focus event listeners to be capture-phase so as to capture focus of something in the window (fixes browser
_354894 _perwindowpb .js )
Bug 1502982 - use a capturing focus listeners so we catch focus in windows that don't have a URL bar etc., r?bdahl
47 bytes, text/x-phabricator-request
|Details | Review|
In some cases, notably in browser_354894_perwindowpb.js , we open windows in which a focus event doesn't fire on the parent window if we don't first open about:blank, but the window does get focus. Using a capturing listener fixes this.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/585c23a3f8c6 use a capturing focus listeners so we catch focus in windows that don't have a URL bar etc., r=bdahl
You need to log in before you can comment on or make changes to this bug.