Closed Bug 61065 Opened 25 years ago Closed 24 years ago

javascript strict warnings in viewsource.js

Categories

(SeaMonkey :: UI Design, defect, P3)

defect

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
I think I've fixed these...
Assignee: don → disttsc
Warnings should be fixed. All instances of return in the current function return either true or false.
seems to be fixed?
Build: 2001043020 Error: appCore.find is not a function Source File: chrome://navigator/content/viewsource.js Line: 59
Assignee: jag → jaggernaut
Jag sez: Hey bbaetz, this is probably fixed, but would you mind checkin it?
Assignee: jaggernaut → bbaetz
wasn't me who worked on view source. -> bz
Assignee: bbaetz → bzbarsky
That warning was fixed by bug 78419. We no longer call appCore.find
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
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
Product: Core → Mozilla Application Suite
You need to log in before you can comment on or make changes to this bug.