Closed
Bug 60666
Opened 24 years ago
Closed 24 years ago
javascript strict warnings in pref-search.js
Categories
(SeaMonkey :: Preferences, defect, P3)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: matt)
Details
Attachments
(2 files)
686 bytes,
patch
|
Details | Diff | Splinter Review | |
2.60 KB,
patch
|
Details | Diff | Splinter Review |
JavaScript strict warning: chrome://communicator/content/pref/pref-search.js line 59: redeclaration of var defaultEngineURI
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
Looking at this again, i noticed that InitSingleEngineList() and setDefaultSearchEngine() are unused. Attaching a patch that removes those obsolete functions and some other dead code. Adding jag for r=
Keywords: review
Comment 3•24 years ago
|
||
Comment 5•24 years ago
|
||
cc'ing alec for sr
Comment 6•24 years ago
|
||
* Contributor(s): Robert John Churchill (rjc@netscape.com) * Mark Olson (maolson@earthlink.net) I believe the preferred way to write this is: * Contributor(s): * Robert John Churchill <rjc@netscape.com> * Mark Olson <maolson@earthlink.net> Optionally with "(Original Author)" appended to the deserving name :-) No need to attach a new patch, but could whoever ends up checking this in (I'm sure someone will beat me to it) fix that?
fix checked in
Reporter | ||
Comment 9•23 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•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•