Closed
Bug 57657
Opened 25 years ago
Closed 25 years ago
javascript strict warnings in pref-languages.js
Categories
(SeaMonkey :: Preferences, defect, P5)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: bugzilla, Assigned: matt)
References
Details
Attachments
(1 file)
|
853 bytes,
patch
|
Details | Diff | Splinter Review |
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 180: reference to unde
fined property stringLangRegion[1]
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 48: reference to undef
ined property window.arguments
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 55: assignment to unde
clared variable prefwindow_proxy_object
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 239: assignment to und
eclared variable arrayOfPrefs
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 246: assignment to und
eclared variable i
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 248: assignment to und
eclared variable str
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 249: assignment to und
eclared variable tit
JavaScript strict warning:
chrome://communicator/content/pref/pref-languages.js line 380: assignment to und
eclared variable j
| Reporter | ||
Updated•25 years ago
|
Summary: Lots of strict warnings in pref-languages.js → javascript strict warnings in pref-languages.js
Updated•25 years ago
|
Status: NEW → ASSIGNED
Priority: P3 → P5
Target Milestone: --- → Future
Comment 4•25 years ago
|
||
Comment 5•25 years ago
|
||
Most of the warnings reported have already been cleaned up. This patch
addresses the two remaining issues.
Issues other than warnings for this file - tab cleanup and general things like
extra try{}catch{} pairs and x = new String(); (things that ben won't like) are
still in there. I can fix those too if asked.
Another issue for a different bug (maybe already known) is that changes to the
language list persist immediately - i.e. cancel has the same affect as ok.
Comment 6•25 years ago
|
||
This patch was absorbed into a patch i adopted in 50277. When that gets fixed,
this should be fixed as well.
Depends on: 50277
Comment 7•25 years ago
|
||
This was fixed along w/ the checkin for bug 50277.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•25 years ago
|
||
I cant see the warnings with todays build 20010619.
Will reopen if I see them again.
Please add the following line to your prefs.js file, so we could avoid all
these strict warning fixup...:
user_pref("javascript.options.strict", true);
Status: RESOLVED → VERIFIED
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•