Closed Bug 491227 Opened 16 years ago Closed 15 years ago

Querying bookmarks menu for "Get Bookmark Add-ons" details fails

Categories

(Firefox :: Bookmarks & History, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: whimboo, Unassigned)

Details

(Keywords: testcase)

Attachments

(2 files)

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090427 Shiretoko/3.5b5pre ID:20090427031112 When you try to query the details for the "Get Bookmark Add-ons" entry inside the bookmarks menu it fails silently and successive menu items aren't listed anymore. Steps: 1. Start Firefox with a fresh profile 2. Open and start the testcase (download it locally first) 3. Check and compare the items which are listed for the bookmarks menu As you can see all successive menu items of the "Get Bookmark Add-ons" item aren't listed anymore. No error or exception is visible inside the error console. But enclosing the menu code inside a try/catch block fixes the problem locally for me. At one time I have seen a warning at the following line and _result not defined: http://mxr.mozilla.org/mozilla-central/source/browser/components/places/content/menu.xml#719 No idea, what causes this problem but calling details for this special item should not silently fail.
Keywords: testcase
As far as I can tell, this bug is invalid. The bookmarks menu is simply not populated yet as you're looking for the items. It doesn't fail silently, the items are just not there. They will be there once you've opened the menu.
Yes, it looks so. I already talked to Marco on IRC but I'm not able to trigger the onpopupshowing event from within Mozmill. Is there a way an extension can force the update of those items? I'm not able to. Even simulating a click on the bookmarks menu or setting "open=true" doesn't open and populate it.
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h". In Thunderbird 3.0b, you do that as follows: Tools | Message Filters Make sure the correct account is selected. Click "New" Conditions: Body contains places-to-b-and-h Change the action to "Delete Message". Select "Manually Run" from the dropdown at the top. Click OK. Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter. Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
(In reply to comment #2) > As far as I can tell, this bug is invalid. The bookmarks menu is simply not > populated yet as you're looking for the items. It doesn't fail silently, the > items are just not there. They will be there once you've opened the menu. That's correct. While working on a solution for bug 474486 I was able to solve this issue. We have to synthesize a faked popupshowing event.
No longer blocks: 474486
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: