Closed
Bug 1393289
Opened 7 years ago
Closed 7 years ago
Port Bug 831094 "Avoid replacing nodes in Places query results and remove nodeReplaced views notification" to SeaMonkey
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(seamonkey2.53 fixed, seamonkey2.54 fixed)
RESOLVED
FIXED
seamonkey2.54
People
(Reporter: frg, Assigned: frg)
References
Details
Attachments
(1 file)
4.30 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
+++ This bug was initially created as a clone of Bug #831094 +++
basically, it always replaces nodes, when often it could just update them, that means:
let root = PlacesUtils.history.executeQuery(query, options).root; root.containerOpen = true;
let node = root.getChild(0);
// add a visit or change title or whatever...
node != root.getChild(0);
moreover if this is an history query with SORT_BY_NONE sorting, insertions can change sorting order of entries (are likely done in the wrong place).
see https://bugzilla.mozilla.org/show_bug.cgi?id=752217#c12
Both are totally unpredictable for a consumer, even if it always worked like this.
Assignee | ||
Comment 1•7 years ago
|
||
[Approval Request Comment]
Regression caused by (bug #): 831094
User impact if declined: Dead code.
Testing completed (on m-c, etc.): c-b
Risk to taking this patch (and alternatives if risky): no longer used code.
String changes made by this patch: none
Attachment #8900517 -
Flags: review?(iann_bugzilla)
Attachment #8900517 -
Flags: approval-comm-beta?
Comment on attachment 8900517 [details] [diff] [review]
1393289-nodereplaced.patch
You missed one, https://dxr.mozilla.org/comm-central/source/suite/common/places/browserPlacesViews.js#1234
r/a=me with that fixed
Attachment #8900517 -
Flags: review?(iann_bugzilla)
Attachment #8900517 -
Flags: review+
Attachment #8900517 -
Flags: approval-comm-beta?
Attachment #8900517 -
Flags: approval-comm-beta+
Pushed by frgrahl@gmx.net:
https://hg.mozilla.org/comm-central/rev/6f0a2d5d6ca6
Port Bug 831094 to SeaMonkey. Remove no longer called nodeReplaced function. r=IanN
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 4•7 years ago
|
||
Target Milestone: --- → seamonkey2.54
You need to log in
before you can comment on or make changes to this bug.
Description
•