Closed Bug 1699853 Opened 4 years ago Closed 4 years ago

s/GetCrossDocParentFrame/GetCrossDocParentFrameInProcess/ in DOMIntersectionObserver.cpp "ComputeTheIntersection()"

Categories

(Core :: Layout, task)

task

Tracking

()

RESOLVED FIXED
88 Branch
Fission Milestone M7a
Tracking Status
firefox88 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

Per bug 1698680, we're adding a new wrapper-API called GetCrossDocParentFrameInProcess(), and we're migrating existing GetCrossDocParentFrame() calls to use the new function, after checking that they're OK with the fact that it doesn't cross processes for cross-origin content.

I'm filing this bug to convert the two calls in DOMIntersectionObserver.cpp ComputeTheIntersection()

Depends on: 1599795

This patch doesn't change behavior; it's just switching us between two
functions that do the same thing. (One is literally a trivial wrapper for the
other.)

We're using the new "InProcess" version of this API as a way of annotating
callsites that have been vetted as behaving properly in out-of-process iframes.

These two callsites in DOMIntersectionObserver.cpp are part of an algorithm
that was already modernized to work with fission in bug 1599795. In a
fission-enabled scenario: when we end up with null containerFrame due to
hitting an oop-iframe boundary, we should end up handling things properly via
our subsequent application of the passed-in "aRemoteDocumentVisibleRect" arg.

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9cc914a73a3f Use "InProcess" version of GetCrossDocParentFrame() in DOMIntersectionObserver.cpp. r=emilio
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch

Setting Fission Milestone to M7a (the current Beta milestone) because this bug is blocking meta bug 1599913 which is a blocker for Fission M7a.

Fission Milestone: --- → M7a
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: