Fix focus event listeners to be capture-phase so as to capture focus of something in the window (fixes browser_354894_perwindowpb.js )

RESOLVED FIXED in Firefox 65

Status

()

P3
normal
RESOLVED FIXED
18 days ago
18 days ago

People

(Reporter: Gijs, Assigned: Gijs)

Tracking

(Blocks: 1 bug)

Trunk
Firefox 65
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(firefox65 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

18 days ago
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.
(Assignee)

Comment 1

18 days ago
Created attachment 9020881 [details]
Bug 1502982 - use a capturing focus listeners so we catch focus in windows that don't have a URL bar etc., r?bdahl
(Assignee)

Updated

18 days ago
Blocks: 1500818

Comment 2

18 days ago
Pushed by gijskruitbosch@gmail.com:
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
(Assignee)

Updated

18 days ago
Priority: -- → P3

Comment 3

18 days ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/585c23a3f8c6
Status: ASSIGNED → RESOLVED
Last Resolved: 18 days ago
status-firefox65: affected → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.