Figure out what (if anything) to do about iframe focusability check difference between in-process and OOP iframes
Categories
(Core :: DOM: UI Events & Focus Handling, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
To avoid synchronous IPC, bug 1613054 part 2 treats OOP iframes as focusable. In-process iframes, OTOH, consider what's presently in the iframe.
In principle, we don't want this kind of in-process vs. out-of-process differences. Figure out if there's something that we could realistically do to make these case not have Web-observable differences. Since we also have the principle of not adding synchronous IPC, the main option for change would be making the in-process case act more like the OOP case.
Comment 1•4 years ago
|
||
We could branch on same-origin/same-site in the in-process case. Same-origin would be ideal even if that's not the normal process boundary as there are other things that can change the process boundary in the future to be closer to same-origin.
Updated•4 years ago
|
Assignee | ||
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Let's see the extent of breakage from this:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=9ae27b330eac813ac76937fe3fa474c3ab0ba374
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Now that I tried to figure out how to write a test case for this, it's unclear to me if a difference even exists except briefly from within navigation-related event handlers and if those special cases even make sense. Hence, no test case at this time, but if there is a difference that I should test, I would welcome it being pointed out to me.
Comment 6•4 years ago
|
||
Is the test case not bug 1440754 / https://github.com/whatwg/html/issues/3506?
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to Anne (:annevk) from comment #6)
Is the test case not bug 1440754 / https://github.com/whatwg/html/issues/3506?
That seems different. What I'm looking for is a case where a same-site iframe would report itself as not focusable somehow.
Comment 9•4 years ago
|
||
bugherder |
Description
•