Closed
Bug 663040
Opened 14 years ago
Closed 14 years ago
Implement webNavigation for remote browsers
Categories
(Core :: DOM: Navigation, defect)
Tracking
()
RESOLVED
FIXED
mozilla8
People
(Reporter: Felipe, Assigned: Felipe)
Details
(Whiteboard: [e10s])
Attachments
(2 files, 1 obsolete file)
8.04 KB,
patch
|
mossop
:
review+
mfinkle
:
review+
|
Details | Diff | Splinter Review |
1.39 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Simple patch v1 with implementation copied straight from mobile. Content-side support for it will come from bug 662008.
Still pondering if I should remove it from mobile or let it be overridden
Assignee | ||
Comment 1•14 years ago
|
||
This just moves the remoteWebNavigation from mobile's browser.xml#remote-browser to toolkit's browser.xml
The getter in mobile is not removed so that it can skip the isRemoteBrowser check, as fennec has two different bindings for remote and non-remote browser.
Attachment #540196 -
Flags: review?(dtownsend)
Assignee | ||
Updated•14 years ago
|
Attachment #538186 -
Attachment is obsolete: true
Assignee | ||
Updated•14 years ago
|
Attachment #540196 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #540196 -
Flags: review?(dtownsend) → review+
Comment 2•14 years ago
|
||
Comment on attachment 540196 [details] [diff] [review]
Patch
>diff --git a/toolkit/content/widgets/browser.xml b/toolkit/content/widgets/browser.xml
>+ <property name="isRemoteBrowser"
>+ onget="return (this.getAttribute('remote') == 'true');"
>+ readonly="true"/>
>+
Just wanted to note my disapproval of this kind of code. I think the dual binding approach serves us better.
Attachment #540196 -
Flags: review?(mark.finkle) → review+
Comment 3•14 years ago
|
||
I backed out everything from central since Android and Maemo were unhappy about the push these changes were part of.
Assignee | ||
Comment 4•14 years ago
|
||
Mark, this is why the back/forward, thumbnails and pinch-to-zoom broke. WebNav was renamed to _remoteWebNavigation with this patch, and the getter was updated, but this code was accessing the internal field instead of the public getter so it wasn't updating the correct object.
Attachment #544599 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #544599 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 5•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla8
You need to log in
before you can comment on or make changes to this bug.
Description
•