Closed Bug 1607573 Opened 6 years ago Closed 6 years ago

Use GetEmbedderElement for GetRealFrameElementOuter

Categories

(Core :: DOM: Core & HTML, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla74
Fission Milestone M6
Tracking Status
firefox74 --- fixed

People

(Reporter: nika, Assigned: nika)

References

Details

Attachments

(4 files)

No description provided.

This does not fix consumers of GetRealFrameElementOuter, which may still act
incorrectly, as the frame element will not be available in cross-process
situations, but removes a user of the docshell tree.

This has a small behaviour change, in that it causes 'window.realFrameElement'
to return 'null' when run within an <iframe mozbrowser>. A quick inspection of
use-sites suggested that this would not be an issue, and it appears to pass a
try run.

Attachment #9119847 - Attachment description: Bug 1607573 - Change GetRealFrameElementOuter to use BrowsingContext, → Bug 1607573 - Part 1: Change GetRealFrameElementOuter to use BrowsingContext,

No longer necessary since the nsGlobalWindow{Inner,Outer}-split.

Pushed by nlayzell@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b7180d7d7db1 Part 1: Change GetRealFrameElementOuter to use BrowsingContext, r=bzbarsky https://hg.mozilla.org/integration/autoland/rev/41af912c9387 Part 2: Remove nsPIDOMWindowInner::GetFrameElement, r=bzbarsky https://hg.mozilla.org/integration/autoland/rev/4342a6fd2c69 Part 3: Remove GetRealFrameElementOuter in favor of GetFrameElement, r=bzbarsky https://hg.mozilla.org/integration/autoland/rev/4329a22210f5 Part 4: Drop the 'Outer' from GetFrameElementOuter, r=bzbarsky
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: