Closed Bug 99808 Opened 23 years ago Closed 23 years ago

javascript errors in nsSidebar.js

Categories

(SeaMonkey :: Sidebar, defect, P4)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.8

People

(Reporter: alexeyc2003, Assigned: samir_bugzilla)

References

()

Details

Attachments

(1 file)

Build: 2001091303

While browsing and installing tabs from
http://developer.netscape.com/evangelism/sidebar/ I got the following JS errors:

Error: uncaught exception: [Exception... "Component returned failure code:
0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFContainer.Init]"  nsresult:
"0x80004003 (NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
file:///C:/Internet/Mozilla/bin/components/nsSidebar.js :: anonymous :: line
122"  data: no]

Error: [Exception... "Component returned failure code: 0x80004003
(NS_ERROR_INVALID_POINTER) [nsIRDFContainer.Init]"  nsresult: "0x80004003
(NS_ERROR_INVALID_POINTER)"  location: "JS frame ::
file:///C:/Internet/Mozilla/bin/components/nsSidebar.js :: anonymous :: line
122"  data: no]
Source File: file:///C:/Internet/Mozilla/bin/components/nsSidebar.js
Line: 122

Above 2 errors were immediately following these errors:

Error: [Exception... "'JavaScript component does not have a method named:
"getInterfaces"' when calling method: [nsIClassInfo::getInterfaces]"  nsresult:
"0x80570030 (NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame
:: http://developer.netscape.com/evangelism/sidebar/ :: addTab :: line 100" 
data: no]
Source File: http://developer.netscape.com/evangelism/sidebar/
Line: 100

Error: [Exception... "'JavaScript component does not have a method named:
"getHelperForLanguage"' when calling method:
[nsIClassInfo::getHelperForLanguage]"  nsresult: "0x80570030
(NS_ERROR_XPC_JSOBJECT_HAS_NO_FUNCTION_NAMED)"  location: "JS frame ::
http://developer.netscape.com/evangelism/sidebar/ :: addTab :: line 100"  data: no]
Source File: http://developer.netscape.com/evangelism/sidebar/
Line: 100


These also were preceeded by JS strict warnings described in bug 78485, as well
as warnings in:
http://developer.netscape.com/evangelism/teds-sidebar.html
http://developer.netscape.com/evangelism/sidebar/
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Severity: normal → minor
Priority: P3 → P4
Target Milestone: mozilla1.0 → mozilla0.9.9
jst: Is there anything here that matters besides the nsSidebar.js errors? If not
then just dup it against bug 99808. I'll put a patch there and maybe someone
will actually check it in.
*** Bug 114981 has been marked as a duplicate of this bug. ***
sgehani: I'll twist jst's arm to sr= this. If you could review it and check it
in when the tree opens for 0.9.8 then maybe we can avoid spending any more time
on the dups of this bug that keep trickling in. Thanks.
FWIW, I meant to refer to bug 105814 when I posted the patch above.
Comment on attachment 61603 [details] [diff] [review]
This will fix it. Let's get this checked in. As discussd in bug 99808

r=sgehani  Thanks.
Attachment #61603 - Flags: review+
Comment on attachment 61603 [details] [diff] [review]
This will fix it. Let's get this checked in. As discussd in bug 99808

sr=jst
Attachment #61603 - Flags: superreview+
*** Bug 105814 has been marked as a duplicate of this bug. ***
*** Bug 117366 has been marked as a duplicate of this bug. ***
Severity: minor → normal
Keywords: mozilla0.9.8
OS: Windows 2000 → All
Hardware: PC → All
Sure, mozilla0.9.8.
Status: NEW → ASSIGNED
Keywords: patch
Whiteboard: [ready to checkin]
Target Milestone: mozilla0.9.9 → mozilla0.9.8
*** Bug 117457 has been marked as a duplicate of this bug. ***
The number of dups is getting bad, please check this in asap, thanks.
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [ready to checkin]
intalled all 3 tabs from that site...installed fine w/o JS errors in console.

verified in 2/13 build.
Status: RESOLVED → VERIFIED
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: