WebExtension bookmarks context menu in library window has some bugs
Categories
(WebExtensions :: Frontend, defect, P5)
Tracking
(Not tracked)
People
(Reporter: kernp25, Unassigned)
References
Details
Attachments
(4 files)
The context menu item will appear for items, that are not really bookmarks.
And when using it with apis like bookmarks.get()
, it will fail.
The menus.OnClickData
and the error, that was thrown when using bookmarks.get()
for an invalid bookmark.
The context menu item will appear for invalid bookmarks in the library window.
Comment 4•4 years ago
|
||
Regression window:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=24f969298ec5c1a7cbc444bfc8f3d77b07f46bbe&tochange=f2f4a6eb1576cba580ee99971f5fc035cbaeeab1
Suspect: 8b35181c3ccc747106037b61a9b52adfbba5ed60 Peter Simonyi — Bug 1419195: Show items from WebExtensions in Places Library context menu r=mixedpuppy
Looks like an implementation bug.
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.
Updated•4 years ago
|
Comment 6•4 years ago
|
||
To fix this, https://searchfox.org/mozilla-central/rev/df4c90d4b8c92c99f76334acfe4813c573c12661/browser/components/extensions/parent/ext-menus.js#1200 should be updated to filter those items, using PlacesUtils.isVirtualLeftPaneItem(node.bookmarkGuid)
.
Comment 7•2 years ago
|
||
The suggestion from comment 6 has been applied in the patch to bug 1768371, so I'll close this bug.
Description
•