Make out-of-process iframes able to request focus
Categories
(Core :: DOM: Content Processes, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
(Whiteboard: [fission-event-m1])
Attachments
(1 file)
When bug 1524977 landed, it was possible to move focus into an out-of-process iframe by tabbing such that it was possible to see the out-of-process iframe draw its top-level focus ring in response to tabbing into it.
In the past few days this broke somehow. The out-of-process iframe runs the focusing code to set its focused element in response to RecvNavigateByKey() and calls TabChild::SendRequestFocus() afterwards. Then focus stays in the iframe parent Web content without whatever was focused there losing focus and without the out-of-process iframe drawing its top-level focus ring.
Assignee | ||
Comment 1•5 years ago
|
||
nika, rhunt, can you think of what might have broken this?
Comment 2•5 years ago
|
||
I haven't landed anything fission related in a while, so nothing stands out on my end.
Assignee | ||
Comment 3•5 years ago
|
||
Sadly, due to last week's bindgen issues, it looks like the toolchain from the end of last week isn't compatible with the code from the start of last week, so it's not really practical to bisect this.
Assignee | ||
Comment 4•5 years ago
|
||
Current hypothesis of cause:
TabParent::mFrameElement for out-of-process iframes gets set to the XUL frame instead of the HTML iframe.
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #4)
Current hypothesis of cause:
TabParent::mFrameElement for out-of-process iframes gets set to the XUL frame instead of the HTML iframe.
And of course it is, because the iframe element isn't in the process that the TabParent is in. Looks like RequestFocus needs to bounce back down via BrowserBridge.
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D22972
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1a69c88b8863 Make out-of-process iframes able to request focus. r=masayuki,NeilDeakin
Comment 9•5 years ago
|
||
bugherder |
Description
•