Closed Bug 86217 Opened 24 years ago Closed 24 years ago

javascript strict warnings in sendProgress.js

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: bugzilla, Assigned: caillon)

Details

Attachments

(1 file)

Warning: reference to undefined property dialog.strings[stringId] Source File: chrome://messenger/content/messengercompose/sendProgress.js Line: 130 build 20010615
Please add the following line to your prefs.js file, so we could avoid all the strict warning fixup...: user_pref("javascript.options.strict", true);
OS: Windows 2000 → All
Hardware: PC → All
over to varada
Assignee: ducarroz → varada
->me. I have a patch to fix.
Assignee: varada → caillon
Looking for r= so I can get sr=
Status: NEW → ASSIGNED
Keywords: patch, review
Target Milestone: --- → mozilla0.9.6
BTW, I took out the return on the window.setTimeout statement because there was a warning about onLoad() not always returning a value. We don't do anything with the returned value from window.setTimeout() whose purpose is just to set the timeout as commented anyway so that should not matter.
As simple as that patch looks, I'm not the one to review it. Varada will have to do this.
patch looks fine, but I think you need component owner review for this
Comment on attachment 53451 [details] [diff] [review] 2 line patch to remove JS strict warnings r=hwaara
Attachment #53451 - Flags: review+
Comment on attachment 53451 [details] [diff] [review] 2 line patch to remove JS strict warnings r=varada
Comment on attachment 53451 [details] [diff] [review] 2 line patch to remove JS strict warnings sr=sspitzer
Attachment #53451 - Flags: superreview+
Timeless checked this in for me a few days ago.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
assigning to stephen since this is a code fix. Thanks Stephend
QA Contact: sheelar → stephend
Yup, this is fixed. Verified, build 2001-11-14, all OSs.
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: