Closed Bug 139044 Opened 22 years ago Closed 22 years ago

js strict warnings in filepicker.js

Categories

(Core Graveyard :: File Handling, defect)

x86
Linux
defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Biesinger, Assigned: Biesinger)

Details

Attachments

(1 file)

Warning: redeclaration of var errorTitle
Source File: chrome://global/content/filepicker.js
Line: 305, Column: 12
Source Code:
        var errorTitle =

Warning: redeclaration of var errorMessage
Source File: chrome://global/content/filepicker.js
Line: 308, Column: 12
Source Code:
        var errorMessage;

I'll attach a patch
Attached patch patchSplinter Review
(the variables are defined at the top of the function)
Comment on attachment 80305 [details] [diff] [review]
patch

r=doron
Attachment #80305 - Flags: review+
alecf, can you super-review? thanks!
Comment on attachment 80305 [details] [diff] [review]
patch

sr=alecf
Attachment #80305 - Flags: superreview+
checked in
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
no longer see this warning --vrfy'd with 2002.09.19.08 comm trunk build.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: