Closed Bug 1502982 Opened 6 years ago Closed 6 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 )

Categories

(Firefox :: General, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Firefox 65
Tracking Status
firefox65 --- fixed

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.
Blocks: 1500818
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
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: