Closed
Bug 1457131
Opened 7 years ago
Closed 2 years ago
Investigate if we can remove itemId (aka parentId) from PlacesInsertionPoint
Categories
(Firefox :: Bookmarks & History, enhancement, P3)
Firefox
Bookmarks & History
Tracking
()
RESOLVED
FIXED
110 Branch
People
(Reporter: standard8, Assigned: mak)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxsearch])
Attachments
(5 files)
Looking at the recent drag & drop / copy & paste code, it is fairly clear it no longer needs the itemId (aka parentId) in the insertionPoint.
The other uses seem to be mainly for the bookmarks properties dialog - there's a few places where it is used, but I think the dialog could simply do a promiseItemId, if it needs it at all.
This would help simplify at least some of the existing cases in tests where we're having to go and get the IDs rather than using GUIDs all the time.
Reporter | ||
Comment 1•7 years ago
|
||
Having looked through a bit more, I'm pretty sure that the bookmark properties dialog no longer needs the id in the insertion point (though it does need to get it, but there's async methods available where we can easily do that).
Unfortunately the drag and drop parts are blocked by onDrop needing to be synchronous. That's bug 1382992.
Depends on: 1382992
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal → S3
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D165766
Updated•2 years ago
|
Assignee: nobody → mak
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•2 years ago
|
||
Depends on D165767
Assignee | ||
Comment 4•2 years ago
|
||
Depends on D165768
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D165769
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D165770
Pushed by mak77@bonardo.net:
https://hg.mozilla.org/integration/autoland/rev/3aa3ae050bab
Remove itemId (aka parentId) from PlacesInsertionPoint. r=Standard8
https://hg.mozilla.org/integration/autoland/rev/5173f2ffbc1d
Remove no longer necessary getConcreteItemId(). r=Standard8
https://hg.mozilla.org/integration/autoland/rev/edc3b095d718
Remove no longer necessary PlacesUtils.toolbarFolderId. r=Standard8
https://hg.mozilla.org/integration/autoland/rev/2321ee1c9ab1
Remove no longer necessary PlacesUtils.placesRootId. r=Standard8
https://hg.mozilla.org/integration/autoland/rev/fdd9bc0c987b
Remove no longer necessary PlacesUtils.bookmarksMenuFolderId. r=Standard8
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3aa3ae050bab
https://hg.mozilla.org/mozilla-central/rev/5173f2ffbc1d
https://hg.mozilla.org/mozilla-central/rev/edc3b095d718
https://hg.mozilla.org/mozilla-central/rev/2321ee1c9ab1
https://hg.mozilla.org/mozilla-central/rev/fdd9bc0c987b
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox110:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch
Updated•2 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•