Closed Bug 814388 Opened 13 years ago Closed 13 years ago

javascript strict warnings in downloads.js

Categories

(Firefox :: Downloads Panel, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jfkthame, Unassigned)

References

Details

Attachments

(1 file)

During startup, there's a JS warning generated by downloads.js (twice): JavaScript strict warning: chrome://browser/content/downloads/downloads.js, line 1440: anonymous function does not always return a value JavaScript strict warning: chrome://browser/content/downloads/downloads.js, line 1440: anonymous function does not always return a value The attached patch aims to fix this, to reduce Terminal noise for people working with debug builds.
Attachment #684389 - Flags: review?(mconley)
Comment on attachment 684389 [details] [diff] [review] fix downloads.js warning Hey Jonathan - thanks for the patch! This is already being taken care of in bug 809852 - the error will go away once that patch lands.
Attachment #684389 - Flags: review?(mconley)
Depends on: 809852
Jonathan: Now that bug 809852 has landed, can you confirm that the warnings are gone? -Mike
Yup, thanks! Resolving as fixed (by bug 809852).
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: