Rip out PContentBridge
Categories
(Core :: DOM: Content Processes, enhancement, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: nika, Assigned: nika)
References
(Blocks 1 open bug)
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 |
Since bug 1500257, we no longer have a need for the PContentBridge logic. This logic currently doesn't run (due to failing assertions), and is from the old B2G days. We should rip this actor out entirely to simplify the situation around PBrowser and nsIContentParent.
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
This actor won't be being used anymore, and acts only as a maintenance burden
for people working on this code (which we're doing pretty often these days!).
Assignee | ||
Comment 2•6 years ago
|
||
This patch tries to move them to ContentParent
instead.
ProcessPriorityManagerImpl::ObserveContentParentCreated
could not be moved
due to using do_QueryInterface
to cast from a nsISupports
down to the
ContentParent
object. This could be fixed to remove the interfaces entirely,
but I left that for a follow-up.
Depends on D20549
Assignee | ||
Comment 3•6 years ago
|
||
Like Part 2, however for nsIContentChild
.
Depends on D20550
Assignee | ||
Comment 4•6 years ago
|
||
These casts are now unnecessary after Part 2, due to all consumers directly
using ContentParent
.
Depends on D20551
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
This devirutalizes a bunch of methods, and moves the entire implementation into
Content{Parent,Child}
proper. The only purpose left for these types is as a
collection of interfaces and an IID for casting. They should likely be removed
entirely in a follow-up.
Depends on D20552
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Looks like this is deleting some JS Plugin stuff, so qDot might want to be aware of it.
Comment 7•6 years ago
|
||
Thanks for the heads up, I checked through the patch and have notes to remove IsForJSPlugin now in some of my cleanup patches (whenever I get around to them).
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D20553
Comment 10•6 years ago
|
||
Backed out for build bustages
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=230327063&repo=autoland&lineNumber=36408
Backout: https://hg.mozilla.org/integration/autoland/rev/2777f00531253613cabfa34b6a1e5d5a21ea4478
Comment 12•6 years ago
|
||
Comment 13•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/86948cd89919
https://hg.mozilla.org/mozilla-central/rev/1e8608ac029b
https://hg.mozilla.org/mozilla-central/rev/9cdcafda796e
https://hg.mozilla.org/mozilla-central/rev/e1a05b9c3e37
https://hg.mozilla.org/mozilla-central/rev/5174b698bd09
https://hg.mozilla.org/mozilla-central/rev/70bcec52a773
Description
•