Closed
Bug 1483274
Opened 6 years ago
Closed 6 years ago
Fold nsIRemoteBrowser into nsIBrowser
Categories
(Core :: DOM: Core & HTML, task, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
Attachments
(1 file)
Currently in XBL we have `browser` (which implements nsIBrowser) and `remote-browser` (which implements both nsIBrowser and nsIRemoteBrowser). We then dynamically switch which XBL binding is attached to a browser tag at runtime in the tabbrowser based on whether the tab should be remote or not.
Custom Elements don't have the capability to switch which element is applied at runtime (since the definition is keyed on tag name). This means we'll likely want to support both the remote and non-remote implementation in one element definition, so having a single interface to implement will make that possible.
I think this looks like:
1) Fold in the 2 properties from nsIRemoteBrowser into nsIBrowser
2) Expose `readonly attribute boolean isRemoteBrowser` which calls into the JS impl
3) Update the 2 callers that Qi into nsIRemoteBrowser to Qi to nsIBrowser and then check `isRemoteBrowser`
Assignee | ||
Comment 1•6 years ago
|
||
Update Qi calls for nsIRemoteBrowser to instead check isRemoteBrowser.
This will allow a single element definition for both remote and non-remote
browsers.
Updated•6 years ago
|
Attachment #8999979 -
Attachment description: Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser → Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Priority: -- → P3
Assignee | ||
Comment 2•6 years ago
|
||
Comment on attachment 8999979 [details]
Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Setting review flag in bugzilla since the dashboard seems to have lost the phab review.
Attachment #8999979 -
Flags: review?(bugs)
Updated•6 years ago
|
Attachment #8999979 -
Flags: review?(bugs)
Comment 3•6 years ago
|
||
Comment on attachment 8999979 [details]
Bug 1483274 - Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Olli Pettay [:smaug] has approved the revision.
Attachment #8999979 -
Flags: review+
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Pushed by bgrinstead@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92832d7ecc29
Remove nsIRemoteBrowser and always use nsIBrowser;r=smaug
Comment 5•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•5 years ago
|
Type: enhancement → task
You need to log in
before you can comment on or make changes to this bug.
Description
•