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)

defect
Not set
normal

Tracking

(seamonkey2.53 fixed, seamonkey2.54 fixed)

RESOLVED FIXED
seamonkey2.54
Tracking Status
seamonkey2.53 --- fixed
seamonkey2.54 --- fixed

People

(Reporter: frg, Assigned: frg)

References

Details

Attachments

(1 file)

+++ 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.
[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?
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
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: