Closed Bug 228527 Opened 21 years ago Closed 21 years ago

JS Warnings in editor

Categories

(SeaMonkey :: Composer, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: timeless)

Details

Attachments

(1 obsolete file)

Warning ``redeclaration of var node'' [xs] in file ``chrome://editor/content/editor.js'', line 3392, character 13. Warning ``reference to undefined property nsIEditingSession.eEditorErrorUnkown'' [xs] in file ``chrome://editor/content/editor.js'', line 380, character 0. Stopped for error handler. #0: function anonymous(aSubject=XPComponent:{7}, aTopic=string:"obs_documentCreated", aData=string:"command_status_changed") in <chrome://editor/content/editor.js> line 380 378: errorStringId = "CantEditMimeTypeMsg"; 379: break; 380: case nsIEditingSession.eEditorErrorUnkown: 381: errorStringId = "CantEditDocumentMsg"; 382: break; "Unkown" should be "Unknown" (2x) Warning ``assignment to undeclared variable xulWin'' [xs] in file ``chrome://editor/content/editor.js'', line 2029, character 0. Stopped for error handler. #0: function UpdateWindowTitle() in <chrome://editor/content/editor.js> line 2029 2027: } 2028: // Set window title with " - Composer" appended 2029: xulWin = document.documentElement; 2030: window.title = windowTitle + xulWin.getAttribute("titlemenuseparator") + 2031: xulWin.getAttribute("titlemodifier"); #0: function AddTreeItem(name=string:"alink", value=string:"#ff0000", treeChildrenId=string:"HTMLAList", attArray=Array:{2}) in <chrome://editor/content/EdAdvancedEdit.js> line 335 333: gDoOnSelectTree = false; 334: try { 335: selectTreeItem(treeChildren, item); 336: } catch (e) {} 337: gDoOnSelectTree = true; "item" should be "treeitem" Warning ``assignment to undeclared variable publishData'' [xs] in file ``chrome://editor/content/ComposerCommands.js'', line 744, character 0. Stopped for error handler. #0: function anonymous(aCommand=string:"cmd_publishAs") in <chrome://editor/content/ComposerCommands.js> line 744 742: 743: window.ok = false; 744: publishData = {}; 745: var oldTitle = GetDocumentTitle(); 746: window.openDialog("chrome://editor/content/EditorPublish.xul","_blank",
Attachment #137445 - Flags: superreview?(bz-vacation)
Attachment #137445 - Flags: review?(neil.parkwaycc.co.uk)
Comment on attachment 137445 [details] [diff] [review] address them [Checked in: Comment 3] erk. Some of those are not just warnings... sr=bzbarsky
Attachment #137445 - Flags: superreview?(bz-vacation) → superreview+
Attachment #137445 - Flags: review?(neil.parkwaycc.co.uk) → review+
Comment on attachment 137445 [details] [diff] [review] address them [Checked in: Comment 3] Check in: { 12/20/2003 20:04 timeless%mozdev.org }
Attachment #137445 - Attachment description: address them → address them [Checked in: Comment 3]
Attachment #137445 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: