Closed Bug 1646568 Opened 4 years ago Closed 3 years ago

Fix GetInProcessParentDocshell usage in nsDocShell::InFrameSwap

Categories

(Core :: DOM: Navigation, defect, P3)

defect

Tracking

()

RESOLVED WORKSFORME
Fission Milestone M8

People

(Reporter: kmag, Unassigned)

References

(Blocks 1 open bug)

Details

No description provided.
Severity: -- → S3
Priority: -- → P3

Emilio, is this code broken for Fission OOP iframes? Do we need to fix this before we enable Fission?

InFrameSwap() was added in requestAnimationFrame bug 1578379. It's only called in MOZ_DIAGNOSTIC_ASSERTs in OnPageShow() and OnPageHide().

Blocks: 1578379
Fission Milestone: --- → ?
Flags: needinfo?(emilio)

I think we don't need to do fancies to swap remote browsers. That code would already be broken in e10s. Frame-swapping works fine in fission so I think this is WFM.

We probably need to make sure that we don't fire any pageshow / pagehide events on cross-origin iframes and so on before closing this though.

Flags: needinfo?(emilio)

Moving to MVP based on comment 2 as it's not nightly or beta blocking.

Fission Milestone: ? → MVP

Let's confirm and do any needful fixes before going to release (M8).

Fission Milestone: MVP → M8

I'm pretty sure this call site is OK as it is no different now with Fission, and shouldn't have any impact here. The pageshow and pagehide events fired here are fired with aOnlySystemGroup = true, meaning that they can't be observed by web content, so we definitely shouldn't run into any issues here.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.