Rename TabParent/TabChild to BrowserParent/BrowserChild
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: rhunt, Assigned: rhunt)
References
Details
Attachments
(6 files, 1 obsolete file)
TabParent and TabChild implement the PBrowser protocol. In bug 1523072 comment 11, we decided to rename the implementations to match the protocol for Fission.
The 'Tab' naming goes beyond these implementations into 'TabContext', 'TabId', and 'nsITabParent'. This bug is just for the first step of the protocol implementations.
Assignee | ||
Comment 1•6 years ago
|
||
Build is green on today's mozilla-central [1]. It's not very hard to rebase, thankfully.
[1] https://treeherder.mozilla.org/#/jobs?repo=try&revision=27d304e833a666c58538858597aec4df62649b1e
Assignee | ||
Comment 2•6 years ago
|
||
Updated•6 years ago
|
Comment 3•6 years ago
|
||
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:rhunt, could you have a look please?
Assignee | ||
Comment 4•6 years ago
|
||
I've been on some PTO and decided there might be a better approach here, so I didn't land the patch here intentionally.
Updated•6 years ago
|
Comment 5•6 years ago
|
||
I rebased some of these patches:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e8cf24f03bc2e31376dfcff002e9d5dda2ba5de7
Assignee | ||
Comment 6•6 years ago
|
||
I've rebased all of the patches. Try looks green, need to do a larger test run, but should be good enough to start review.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=92e3411917573c9be52c3872c5793850fcaa8e37
Assignee | ||
Comment 7•6 years ago
|
||
File renames cause some unified build issues. This commit adds the missing headers.
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D28130
Assignee | ||
Comment 9•6 years ago
|
||
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.
Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.
Depends on D28131
Assignee | ||
Comment 10•6 years ago
|
||
This commit renames TabParent to BrowserParent.
Depends on D28132
Assignee | ||
Comment 11•6 years ago
|
||
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.
Depends on D28133
Assignee | ||
Comment 12•6 years ago
|
||
This commit renames TabChild to BrowserChild.
Depends on D28134
Assignee | ||
Comment 13•6 years ago
|
||
Latest try run with patches rebased.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=cca37f1e5fa52b752cd7819509d4f1c1920d4789
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d7938f30e54
https://hg.mozilla.org/mozilla-central/rev/e02c6844c4c3
https://hg.mozilla.org/mozilla-central/rev/96a7836e16e2
https://hg.mozilla.org/mozilla-central/rev/47813ecb1f4e
https://hg.mozilla.org/mozilla-central/rev/9998ccf0c05f
https://hg.mozilla.org/mozilla-central/rev/9813ce146bc7
https://hg.mozilla.org/mozilla-central/rev/5a2478c53c19
Description
•