Closed
Bug 550234
Opened 14 years ago
Closed 14 years ago
Port bug 543444 (Replace single-view API with multiple observers) to SeaMonkey history
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1a1
People
(Reporter: kairo, Assigned: kairo)
References
Details
Attachments
(2 files, 1 obsolete file)
12.35 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
iannbugzilla
:
review+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #543444 +++ The browser/ changes in bug 543444 - Replace single-view API with multiple observers - should be ported to SeaMonkey history files. I'll base the patch for it on the bug 547815 work.
Assignee | ||
Comment 1•14 years ago
|
||
Actually, I'm reverting the order between this and bug 547815 as bug 543444 changes the interfaces and therefore breaks us right now.
Assignee | ||
Comment 2•14 years ago
|
||
This patch should port over everything and make us compatible with the changed interfaces.
Assignee | ||
Updated•14 years ago
|
Severity: normal → blocker
Target Milestone: --- → seamonkey2.1a1
Comment 3•14 years ago
|
||
Comment on attachment 430425 [details] [diff] [review] patch to port us over to the interface changes Looks good to me FWIW.
Attachment #430425 -
Flags: review+
Comment 4•14 years ago
|
||
Comment on attachment 430425 [details] [diff] [review] patch to port us over to the interface changes >+ var suppressNotificationsOld = result.suppressNotifications; Nit: I would have named it didSuppressNotifications >- var nodes = this._view.getDragableSelection(); >+ let nodes = this._view.getDragableSelection(); > >- for (var i = 0; i < nodes.length; ++i) { >+ for (let i = 0; i < nodes.length; ++i) { Well I can't allow this given that you used var above :-P
Attachment #430425 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•14 years ago
|
||
(In reply to comment #4) > (From update of attachment 430425 [details] [diff] [review]) > >+ var suppressNotificationsOld = result.suppressNotifications; > Nit: I would have named it didSuppressNotifications Hrm, do I have to do this? Renaming this makes porting of further changes much harder :( > >- var nodes = this._view.getDragableSelection(); > >+ let nodes = this._view.getDragableSelection(); > > > >- for (var i = 0; i < nodes.length; ++i) { > >+ for (let i = 0; i < nodes.length; ++i) { > Well I can't allow this given that you used var above :-P I don't understand... I'm trying hard to use var at the direct function level and let only in blocks underneath it - and in a for loop, let makes even more sense, IMHO...
Assignee | ||
Comment 6•14 years ago
|
||
back to normal, as the toolkit side got backout out (again).
Severity: blocker → normal
Assignee | ||
Comment 7•14 years ago
|
||
OK, I've updated the patch for recent changes to the bug 543444, including the variable renaming you requested.
Attachment #430425 -
Attachment is obsolete: true
Attachment #431854 -
Flags: review?(neil)
Comment 8•14 years ago
|
||
Comment on attachment 431854 [details] [diff] [review] v2: updated to recent bug 543444 changes Oh, I see now, the Firefox version has the same var/let changes.
Attachment #431854 -
Flags: review?(neil) → review+
Assignee | ||
Comment 9•14 years ago
|
||
Thanks, pushed as http://hg.mozilla.org/comm-central/rev/1ae4523a0dc5
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 10•12 years ago
|
||
I happened to spot the strict JS warning about the removed interface. The failure doesn't break anything, but this call is quicker if it works.
Attachment #658611 -
Flags: review?(iann_bugzilla)
Attachment #658611 -
Flags: review?(iann_bugzilla) → review+
Comment 11•12 years ago
|
||
Comment on attachment 658611 [details] [diff] [review] Missed one spot Pushed comm-central changeset 1bdd4637a53c.
You need to log in
before you can comment on or make changes to this bug.
Description
•