Closed Bug 287213 Opened 20 years ago Closed 19 years ago

JavaScript strict warnings in nsHelperAppDlg.js

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED WONTFIX

People

(Reporter: arjenwarendorff+bugzilla, Assigned: bugs)

References

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1 Found "redeclaration of var ..." 3 times in file: "Mozilla Firefox/components/nsHelperAppDlg.js" Warning: "redeclaration of var x" Details: 1) var: prefs warning on line: 178 already declared on line: 91 2) var: openHandler warning on line: 546 already declared on line: 524 (Warning: only when if() evaluated to true on line 519) 3) var: useDefault warning on line: 563 already declared on line: 545 Reproducible: Always Actual Results: Strict JavaScript warning in the JavaScript Console Expected Results: Don't show any warnings
useragent looks like this is for the firefox version of the file
Assignee: file-handling → bugs
Product: Core → Firefox
QA Contact: ian → aebrahim-bmo
Redeclarations are no longer strict warnings, removing them reduces code clarity.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WONTFIX
v
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.