Fix uses of ContentParent::mRemoteType when used with Fission
Categories
(Core :: DOM: Content Processes, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox71 | --- | fixed |
People
(Reporter: mccr8, Assigned: mccr8)
References
Details
Attachments
(6 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
Assignee | ||
Comment 1•5 years ago
|
||
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.
Assignee | ||
Comment 2•5 years ago
|
||
This is the equivalent to E10SUtils.isWebRemoteType, except for C++.
Assignee | ||
Comment 3•5 years ago
|
||
Assignee | ||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
With Fission, the remote type can have the form webIsolated= in
addition to web. IsWebRemoteType() handles both of these cases.
Updated•5 years ago
|
Assignee | ||
Comment 6•5 years ago
|
||
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.
Updated•5 years ago
|
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
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0272eeb9b2ae
https://hg.mozilla.org/mozilla-central/rev/2d7306573c04
https://hg.mozilla.org/mozilla-central/rev/99fba9664c12
https://hg.mozilla.org/mozilla-central/rev/c0fb66a739a3
https://hg.mozilla.org/mozilla-central/rev/b252a04d0093
https://hg.mozilla.org/mozilla-central/rev/fb0e1912da30
Assignee | ||
Comment 9•5 years ago
|
||
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.
Assignee | ||
Comment 10•5 years ago
|
||
Looks like the regressions might be due to another bug.
Description
•