Closed Bug 80239 Opened 23 years ago Closed 23 years ago

javascript strict warnings in editor.js

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.5

People

(Reporter: bugzilla, Assigned: kinmoz)

Details

(Keywords: polish, Whiteboard: fixed on trunk, not fixed on 0.9.4 branch)

Attachments

(1 file)

JavaScript strict warning:
chrome://editor/content/editor.js line 2021: reference to undefined property Com
ponents.classes['@mozilla.org/spellchecker;1']

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);
assigning to cmanske
Assignee: beppe → cmanske
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Kin: did you have any idea what caused this? Could you reproduce it?
Assignee: cmanske → kin
This patch also fixes warnings for those people who for whatever reason don't
have Find.

Keywords: patch, polish, review
Much simpler!
r=cmanske
Kin can SR and check it in.
Comment on attachment 47483 [details] [diff] [review]
Proposed patch

sr=kin@netscape.com
Attachment #47483 - Flags: superreview+
Attachment #47483 - Flags: review+
Fix checked into trunk:

    mozilla/editor/ui/composer/content/editor.js  revision 1.106
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: fixed on trunk, not fixed on 0.9.4 branch
Target Milestone: mozilla1.0 → mozilla0.9.5
no warnings...
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: