Closed
Bug 190678
Opened 22 years ago
Closed 22 years ago
Right Clicking on Personal Toolabr gives js error
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: bugs, Assigned: bugs)
References
Details
Attachments
(1 file)
|
779 bytes,
patch
|
Details | Diff | Splinter Review |
Start Phoenix, right click on personal toolbar. This error is displayed in the
console:
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "aSelection has no properties"
{file: "chrome
://browser/content/bookmarks/bookmarks.js" line: 719}]' when calling method:
[ns
IController::isCommandEnabled]" nsresult: "0x80570021
(NS_ERROR_XPC_JAVASCRIPT_
ERROR_WITH_DETAILS)" location: "JS frame ::
chrome://global/content/globalOverl
ay.js :: goUpdateCommand :: line 53" data: yes]
************************************************************| Assignee | ||
Comment 1•22 years ago
|
||
null check selection in case the bookmark toolbar object's command controller's isCommandEnabled method is called when a selection does not exist (in this case, the edit menu update was calling this.)
Comment 2•22 years ago
|
||
*** Bug 172029 has been marked as a duplicate of this bug. ***
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/browser/components/bookmarks/content&command=DIFF_FRAMESET&file=bookmarksToolbar.xml&rev1=1.39&rev2=1.40&root=/cvsroot v.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•