Closed
Bug 61065
Opened 24 years ago
Closed 23 years ago
javascript strict warnings in viewsource.js
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bugzilla, Assigned: bzbarsky)
Details
JavaScript strict warning: chrome://navigator/content/viewsource.js line 20: function viewSource does not always return a value JavaScript strict warning: chrome://navigator/content/viewsource.js line 58: function viewSource does not always return a value
Comment 2•24 years ago
|
||
Warnings should be fixed. All instances of return in the current function return either true or false.
Reporter | ||
Comment 3•24 years ago
|
||
seems to be fixed?
Comment 4•23 years ago
|
||
Build: 2001043020 Error: appCore.find is not a function Source File: chrome://navigator/content/viewsource.js Line: 59
Comment 6•23 years ago
|
||
Jag sez: Hey bbaetz, this is probably fixed, but would you mind checkin it?
Assignee: jaggernaut → bbaetz
Assignee | ||
Comment 8•23 years ago
|
||
That warning was fixed by bug 78419. We no longer call appCore.find
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
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: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•