Closed
Bug 67790
Opened 24 years ago
Closed 22 years ago
javascript strict warnings in bookmarksOverlay.js
Categories
(SeaMonkey :: Bookmarks & History, defect)
SeaMonkey
Bookmarks & History
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: maolson)
Details
Attachments
(2 files, 2 obsolete files)
799 bytes,
patch
|
Details | Diff | Splinter Review | |
517 bytes,
patch
|
stdowa+bugzilla
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
JavaScript strict warning: chrome://communicator/content/bookmarks/bookmarksOverlay.js line 345: redeclaration of var args
Reporter | ||
Updated•24 years ago
|
Summary: javascript strict warnings in contentAreaDD.js → javascript strict warnings in bookmarksOverlay.js
Reporter | ||
Comment 1•24 years ago
|
||
And when selecting all bookmarks and pressing delete: ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "[Exception... "Illegal value" code: "-2147024809" nsresult: "0x8 0070057 (NS_ERROR_ILLEGAL_VALUE)" location: "chrome://communicator/content/book marks/bookmarksOverlay.js Line: 582"] [nsIController::doCommand]" nsresult: "0x 8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "JS frame :: chrome://glo bal/content/globalOverlay.js :: goDoCommand :: line 71" data: no] ************************************************************ An error occurred executing the cmd_delete command ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIRDFDataSource.DoCommand]" nsresult: "0x8000ffff (NS_ERROR_UNEXPECTED)" lo cation: "JS frame :: chrome://communicator/content/bookmarks/bookmarksOverlay.js :: anonymous :: line 379" data: no] ************************************************************
Assignee | ||
Comment 2•24 years ago
|
||
Assignee | ||
Comment 3•24 years ago
|
||
The patch fixes the strict warnings, but doesn't attempt to touch the exception. That should be another bug anyway.
Keywords: review
r=timeless, a=alecf
fix checked in. henrik please file another bug for the js exception if it's still present.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•23 years ago
|
||
JavaScript strict warning: chrome://communicator/content/bookmarks/bookmarksOverlay.js line 325: redeclarat ion of var args
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•23 years ago
|
||
Comment 8•23 years ago
|
||
r=jag
Comment 9•23 years ago
|
||
a=ben@netscape.com. 'booya'
Assignee | ||
Comment 10•23 years ago
|
||
fix checked in
Status: REOPENED → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 11•23 years ago
|
||
After going to: ftp://ftp.danadata.dk/pub/McAfee/McAfee/antivirus/dat/4.x/extra/ and pressing "Add Bookmark" JavaScript strict warning: chrome://communicator/content/bookmarks/bookmarksOverlay.js line 807: reference to undefined property aDocShell.document.title build 20010420
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 12•23 years ago
|
||
Comment 14•23 years ago
|
||
is try needed? var title = url, docCharset = null; if (title in aDocShell.document && aDocShell.document.title) title = aDocShell.document.title; docCharset = aDocShell.document.characterSet; //i'm not sure if this is cheaper.
Reporter | ||
Comment 15•23 years ago
|
||
btw: JavaScript error: line 7: uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIRDFNode.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://communicator/content/bookmarks/bookmarksOverlay.js :: LITERAL :: line 61" data: no] ************************************************************ * Call to xpconnect wrapped JSObject produced this error: * [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsIRDFNode.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: chrome://communicator/content/bookmarks/bookmarksOverlay.js :: LITERAL :: line 61" data: no] ************************************************************ An error occurred executing the cmd_bm_delete command
Comment 16•23 years ago
|
||
Filed bug 78968 about another JS Error in bookmarksOverlay.js.
Reporter | ||
Comment 17•23 years ago
|
||
ben: is it correct that this one is invalid after you bookmark rework?
Reporter | ||
Comment 18•23 years ago
|
||
in build 20010826 when doing paste into a empty manage bookmark window Error: lastSelected has no properties Source File: chrome://communicator/content/bookmarks/bookmarksOverlay.js Line: 531
Updated•23 years ago
|
Attachment #25995 -
Attachment is obsolete: true
Attachment #25995 -
Flags: superreview+
Attachment #25995 -
Flags: review+
Updated•23 years ago
|
Attachment #27863 -
Attachment is obsolete: true
Attachment #27863 -
Flags: superreview+
Attachment #27863 -
Flags: review+
Comment 19•23 years ago
|
||
Using a trunk build from today. Warning: anonymous function does not always return a value Source File: chrome://communicator/content/bookmarks/bookmarksOverlay.js Line: 862, Column: 58 Source Code: return BMSvc.createFolderEx(aTitle, aParentFolder, ix);
Comment 20•22 years ago
|
||
Comment 21•22 years ago
|
||
Comment on attachment 80662 [details] [diff] [review] patch for the warning stephen mentioned r=walk84
Attachment #80662 -
Flags: review+
Comment 22•22 years ago
|
||
Comment on attachment 80662 [details] [diff] [review] patch for the warning stephen mentioned sr=alecf
Attachment #80662 -
Flags: superreview+
Comment 23•22 years ago
|
||
checked in
Status: REOPENED → RESOLVED
Closed: 23 years ago → 22 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•