Closed Bug 1579835 Opened 5 years ago Closed 5 years ago

Fix uses of ContentParent::mRemoteType when used with Fission

Categories

(Core :: DOM: Content Processes, task, P2)

task

Tracking

()

RESOLVED FIXED
mozilla71
Fission Milestone M4
Tracking Status
firefox71 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

References

Details

Attachments

(6 files)

No description provided.
Depends on: 1579897
No longer depends on: 1579897

Nika said that any `web'-prefixed remote type should be valid, so this
function can be simplified. For instance, webLargeAllocation should
return true.

This removes the need for ownerGlobal, so a few wrappers can be
removed.

This is the equivalent to E10SUtils.isWebRemoteType, except for C++.

With Fission, the remote type can have the form webIsolated= in
addition to web. IsWebRemoteType() handles both of these cases.

Status: NEW → ASSIGNED
Fission Milestone: --- → M4
Priority: -- → P2

Now that we only use a single field of the browser that gets passed in
to isWebRemoteType, I think it makes more sense to just pass in the
remote type directly.

Attachment #9091775 - Attachment description: Bug 1579835, part 4 - Fix PushNotifier::Dispatch filtering for Fission remote types. → Bug 1579835, part 4 - Add a comment about why PushNotifier::Dispatch only matches "web".
Pushed by amccreight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/0272eeb9b2ae
part 1 - Make E10SUtils.isWebRemoteType use a simpler prefix approach. r=mconley
https://hg.mozilla.org/integration/autoland/rev/2d7306573c04
part 1b - Directly pass in remote type to E10SUtils.isWebRemoteType. r=mconley
https://hg.mozilla.org/integration/autoland/rev/99fba9664c12
part 2 - Add mozilla::dom::IsWebRemoteType. r=nika
https://hg.mozilla.org/integration/autoland/rev/c0fb66a739a3
part 3 - Fix ChromeUtils::RequestProcInfo() with Fission. r=Ehsan
https://hg.mozilla.org/integration/autoland/rev/b252a04d0093
part 4 - Add a comment about why PushNotifier::Dispatch only matches "web". r=asuth
https://hg.mozilla.org/integration/autoland/rev/fb0e1912da30
part 5 - Fix remote type matching in SelectTargetActorForServiceWorker. r=asuth
Regressions: 1584770
Regressions: 1584774
Regressions: 1584775

If this needs to get backed out for the service worker regressions, please trying just backing out part 5 first. That is the most directly service worker related patch.

Looks like the regressions might be due to another bug.

No longer regressions: 1584774, 1584775
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: