Closed Bug 1663853 Opened 4 years ago Closed 4 years ago

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)

task

Tracking

()

RESOLVED FIXED
85 Branch
Fission Milestone M7
Tracking Status
firefox85 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

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.

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.

Severity: -- → S3
Priority: -- → P3

We need to figure out this bug for M7.

Fission Milestone: --- → M7
Assignee: nobody → hsivonen
Status: NEW → ASSIGNED

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.

(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.

Pushed by hsivonen@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5413b69fe083 Assume that different-origin iframes are focusable even in the in-process case. r=nika
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 85 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: