Closed Bug 1614524 Opened 4 years ago Closed 4 years ago

Make <object> and <embed> Fission-compatible

Categories

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

task

Tracking

()

RESOLVED FIXED
81 Branch
Fission Milestone M6b
Tracking Status
firefox81 --- fixed

People

(Reporter: cpeterson, Assigned: nika)

References

Details

Attachments

(4 files)

Tracking for Fission Nightly (M6)

See Also: → 1614525
Fission Milestone: M6 → M6a
Depends on: 1646899
Summary: Make <object> Fission-compatible → Make <object> and <embed> Fission-compatible
Assignee: nobody → nika
Status: NEW → ASSIGNED
Fission Milestone: M6a → M6b
See Also: → 1658097

By passing a weak reference back to the DocumentChannelParent into
DocumentLoadListener for object loads, we are able to handle process switching
loads by asking the content process to create a BrowsingContext, and delaying
the real process switch until it becomes available.

The load then completes as it would before, acting as a normal process-switching
subframe load.

With these changes, there are still a number of test failures when remote
object/embed is enabled, due to svg sizing and resource timing tests. In order
to land these changes before those features are fixed, it will be placed behind
a pref.

These callers should likely also function with <object> and <embed> loads, so
switching them to GetLoadingBrowsingContext() should be correct.

Pushed by nlayzell@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a8715208c382
Part 1: Add support for process-switching object/embed loads, r=mattwoodrow,smaug,kamidphish
https://hg.mozilla.org/integration/autoland/rev/bc8fc464a371
Part 2: Add a test for embed element process selection and navigation, r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/742fd4c3a4af
Part 3: Add a fission.remoteObjectEmbed pref, r=mattwoodrow
https://hg.mozilla.org/integration/autoland/rev/0e3534673648
Part 4: Clean up some GetDocumentBrowsingContext callers, r=mattwoodrow,kamidphish
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: