Closed Bug 298134 Opened 19 years ago Closed 19 years ago

Js strict warning in bookmarksMenu.js: undefined property event.type

Categories

(Firefox :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox1.5

People

(Reporter: whimboo, Assigned: whimboo)

References

Details

Attachments

(1 file)

Dragging an URL from the location bar onto the bookmarks toolbar or removing the bookmark throws following strict warning: Warning: reference to undefined property event.type Source File: chrome://browser/content/bookmarks/bookmarksMenu.js Line: 923
Why didn't you just reopen bug 291371? Especially since you verified it fixed recently :).
You are right, I should remember this the next time. :( The strict warning occurs on that line: http://lxr.mozilla.org/seamonkey/source/browser/components/bookmarks/content/bookmarksMenu.js#973
Depends on: 299476
Martijn, this bug was caused by your patch of bug 266737. But you are not accountable for. See bug 299476 for more information.
We have to pass the additional parameter 'null' to setTimeout().
Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Attachment #188053 - Flags: review?(benjamin)
Comment on attachment 188053 [details] [diff] [review] patch with additional parameter for setTimeout() r+a=me, please get somebody to land this quickly
Attachment #188053 - Flags: review?(benjamin)
Attachment #188053 - Flags: review+
Attachment #188053 - Flags: approval-aviary1.1a2+
Checking in bookmarksMenu.js; /cvsroot/mozilla/browser/components/bookmarks/content/bookmarksMenu.js,v <-- bookmarksMenu.js new revision: 1.46; previous revision: 1.45 done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox1.1
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: