Closed
Bug 2042098
Opened 5 months ago
Closed 3 months ago
Batch fetchBookmarksByURL calls in removeFoldersContents notifications
Categories
(Toolkit :: Places, task, P3)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
154 Branch
| Tracking | Status | |
|---|---|---|
| firefox154 | --- | fixed |
People
(Reporter: mak, Assigned: cachan)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sng])
Attachments
(1 external file)
removeFoldersContents in Bookmarks.sys.mjs runs await fetchBookmarksByURL(item, true) per descendant when emitting tag-update notifications. For a tag folder with N tagged URLs that's N round-trips.
Collect the URLs once, call fetchBookmarksByURLs(urls) before the notification loop, and look up entries from the returned Map per iteration.
Updated•5 months ago
|
Pushed by cachan@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/44eb7e4e029b
https://hg.mozilla.org/integration/autoland/rev/f2bf713ef8c4
batched fetchBookmarksByURL in removeFoldersContents. r=mak,places-reviewers
Comment 3•3 months ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 3 months ago
status-firefox154:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 154 Branch
Updated•3 months ago
|
QA Whiteboard: [qa-triage-done-c155/b154]
You need to log in
before you can comment on or make changes to this bug.
Description
•