Closed
Bug 117366
Opened 23 years ago
Closed 23 years ago
Page gives Javascript Exception since 0.9.7
Categories
(SeaMonkey :: Sidebar, defect)
Tracking
(Not tracked)
VERIFIED
WORKSFORME
Future
People
(Reporter: jesse.houwing, Assigned: samir_bugzilla)
References
()
Details
(Keywords: qawanted)
I made a sidebar that uses a piece of javascript from another site to display
newsitems in the sidebar. It worked like a charm until 0.9.7 came along.
Now I get the following errormessages:
Error: headlines5 is not defined
Source File:
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssidebar.html
Line: 128
Error: datum is not defined
Source File:
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssidebar.html
Line: 137
And this one when chosing settings -> about
Error: redeclaration of const hide
Source File: chrome://wallet/content/walletOverlay.js
Line: 1
The newsitems are no longer displayed in 0.9.7. downgrading to 0.9.6 fixes it.
I tried the trunk build of december 28th, it won't function there either.
I checked in windows NT 4, no problems, but in windows 2000 sp2 it doesn't.
Comment 1•23 years ago
|
||
Confirming using Mozilla trunk binaries 20011227xx on WinNT, Linux.
OS : Win2K ---> All. I am seeing errors like this in the JS Console:
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://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssi
debar.html :: <TOP_LEVEL> :: line 76" data: no]
Source File:
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssi
debar.html
Line: 76
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://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssi
debar.html :: <TOP_LEVEL> :: line 76" data: no]
Source File:
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/Tweakers.net/tweakerssi
debar.html
Line: 76
These are just like the errors in bug 114981 and bug 105814 , both marked
as duplicates of bug 99808. Reassigning to Sidebar component for final
disposition -
Assignee: rogerl → sgehani
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Sidebar
Ever confirmed: true
OS: Windows 2000 → All
QA Contact: pschwartau → sujay
Assignee | ||
Comment 2•23 years ago
|
||
*** This bug has been marked as a duplicate of 99808 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Comment 3•23 years ago
|
||
A question remains: why did it work before 0.9.7? bug 99808 was there before
0.9.7 as well...
Reporter | ||
Comment 4•23 years ago
|
||
I checked with the other bugs and these errors don't look anything like the ones
they're getting.... This is a different bug...
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Assignee | ||
Comment 5•23 years ago
|
||
This error is separate and already reported in bug 112908:
Error: redeclaration of const hide
Source File: chrome://wallet/content/walletOverlay.js
Line: 1
I cannot reproduce the errors mentioned in a mozilla trunk 2001010203 build.
(*) Error: headlines5 is not defined
(*) Error: datum is not defined
Please advise if there are additional conditions or steps to reproduce this
behavior. At any rate, I don't believe this is a sidebar problem.
Keywords: qawanted
Target Milestone: --- → Future
Reporter | ||
Comment 6•23 years ago
|
||
It could be the host the pages are on... I have anotherone up there that
suddenly stopped working (at least all js and stylesheets won't get included
anymore)
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/deja.utwente/dejasidebar.html
is the url.
Maybe this can help.
The strange thing is my 3rd sidebar that is also hosted there doesn't give an
error, but uses much the same functionality...
http://home.student.utwente.nl/j.houwing/mozilla/sidebar/Validators/validatorssidebar.html
Reporter | ||
Comment 7•23 years ago
|
||
Reinstalled mozilal, cleaned my profile from anything that saves any state, all
to no avail. But now I have copied all to a new profile, and the problem goes
away.... very strange.... But I still have to copy some of the additional prefs.
Reporter | ||
Comment 8•23 years ago
|
||
Just checked in a complete new profile, copied all my personal prefs, all the
mail and such and it won't happen again. Marking Worksforme....
(Tried on a different system with installations of various old nightlies after
eachother and the 29 december -> 30 december (win32-sea) and then this problem
occures, but I don't see anything that causes it.
Status: REOPENED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•