Closed
Bug 61568
Opened 24 years ago
Closed 24 years ago
javascript strict warnings in menulistBindings.xml
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: jag+mozbugs)
Details
Attachments
(1 file)
893 bytes,
patch
|
Details | Diff | Splinter Review |
JavaScript strict warning:
chrome://global/content/menulistBindings.xml#menulist.selectedIndex (setter)
line 13: function onset does not always return a value
Assignee | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
r=blake
Reporter | ||
Comment 3•24 years ago
|
||
so what's the next thing to do, to get this checked in?
Assignee | ||
Comment 4•24 years ago
|
||
Easy, now I e-mail hyatt :-)
Assignee | ||
Comment 6•24 years ago
|
||
Or ask Ben ;-)
Btw, in the mean time someone sneaked in a different version, which did
s/return/return -1/ meaning you couldn't do something like:
var foo = menuList.selectedIndex = 5; // foo could be -1
Checked in this (better) fix.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 7•24 years ago
|
||
rubberstamp vrfy --unless you have a testcase i could use to further verify. :)
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•