Closed
Bug 231534
Opened 20 years ago
Closed 20 years ago
ReferenceError: XMLHttpRequest is not defined @ <chrome://venkman/content/venkman-static.js> 651
Categories
(Other Applications Graveyard :: Venkman JS Debugger, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: rginda)
Details
Attachments
(1 file)
1.46 KB,
patch
|
rginda
:
review+
|
Details | Diff | Splinter Review |
An exception occurred while initializing, please file a bug. ReferenceError: XMLHttpRequest is not defined @ <chrome://venkman/content/venkman-static.js> 651 build flags: ac_add_options --enable-extensions=universalchardet,typeaheadfind,cookie,venkman,inspector
fwiw vnk: Application venkman, 'JavaScript Debugger' loaded. vnk: init { vnk: initDebugger {} initDebugger 2.077 sec vnk: Application venkman, 'JavaScript Debugger' unloading. I never get the closed brace to match init {...
Comment 2•20 years ago
|
||
This is because xmlextras wasn't compiled, isn't it? (Do we have enough reasons yet to make it required?)
that's right. it's an extension. it's optional. even if it isn't optional, it could still fail to load. please tolerate such a failure.
Comment 4•20 years ago
|
||
This catches any errors doing the XMLHttpRequest (e.g. it not existing because of a lack of the xmlextras extension), and will display the normal message with "<unknown>" (localised, naturally) in place of the global startup count.
Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 145889 [details] [diff] [review] Catch and cope with XMLHttpRequest errors. r=rginda
Attachment #145889 -
Flags: review+
Comment 6•20 years ago
|
||
Checked in.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Product: Core → Other Applications
Updated•5 years ago
|
Product: Other Applications → Other Applications Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•