Closed
Bug 1678349
Opened 4 years ago
Closed 4 years ago
Additional blur and focus event get fired while calling iframe.focus() on OOP iframe
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P3)
Core
DOM: UI Events & Focus Handling
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: edgar, Assigned: edgar)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
This is another case that we trigger additional blur and focus events on the OOP iframe.
I will attach test script later.
Assignee | ||
Comment 1•4 years ago
|
||
STR:
- enable Fission
- load test.html
- wait for a few seconds.
Expected result:
No duplicated focus or blur event
Actual Result:
Duplicated focus and blur event on the iframe and framer.
Assignee | ||
Updated•4 years ago
|
Blocks: fission-focus
Assignee | ||
Comment 3•4 years ago
|
||
This simplify the code a bit and also fix FocusIsOutOfProcess isn't set correctly
for a certain case, e.g. framer calls iframe.focus() on a OOP iframe.
Assignee | ||
Comment 4•4 years ago
|
||
for the case that framer calls iframe.focus() on OOP iframe and the OOP iframe
already has the focus.
Assignee | ||
Comment 5•4 years ago
|
||
Updated•4 years ago
|
Assignee: nobody → echen
Status: NEW → ASSIGNED
Pushed by echen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ef077201b2a4
Part 1: Compute focus-in-other-content-process flag in nsFocusManager::Focus; r=hsivonen
https://hg.mozilla.org/integration/autoland/rev/c8f03513e3a5
Part 2: Suppress additional blur/focus event on OOP iframe; r=hsivonen
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/26717 for changes under testing/web-platform/tests
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ef077201b2a4
https://hg.mozilla.org/mozilla-central/rev/c8f03513e3a5
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox85:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in
before you can comment on or make changes to this bug.
Description
•