Closed Bug 329620 Opened 19 years ago Closed 19 years ago

Fix strict JS warnings

Categories

(Core Graveyard :: XForms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: allan, Assigned: aaronr)

References

()

Details

I get these: 1) Warning: function _getSelectedValue does not always return a value Source File: chrome://xforms/content/select1.xml Line: 958, Column: 23 Source Code: return null; 2) Warning: function _getSelectedValue does not always return a value Source File: chrome://xforms/content/select1.xml Line: 985, Column: 32 Source Code: return contentEnvelope; Could probably be fixed via one of the select rewrites that surkov is doing.
Alex, would you like to fix this with your select(1) rewrites or would you like me to fix this one?
I understood the bug not very good. If I understand right then you can get the problem only at lines 904 and 906 of select1.xml (if _getSelectedValue() returns null or undefined). Is it a problem or something else? Is there problem for select control? I don't work on select1 control rewrites at the moment, thought I have nearest plans.
(In reply to comment #1) > Alex, would you like to fix this with your select(1) rewrites or would you like > me to fix this one? > If the problem isn't concerned select control and since I didn't understance the bug a wholly then I would like you to fix it ;)
I haven't looked at it yet, either, so I don't know exactly what the bug is, yet. But I will look at it. Probably something that I caused anyway when I was putting in my copy stuff.
Status: NEW → ASSIGNED
I've stopped getting these on trunk. They are fixed, right?
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.