Closed Bug 231534 Opened 21 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)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: timeless, Assigned: rginda)

Details

Attachments

(1 file)

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 {...
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.
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.
Comment on attachment 145889 [details] [diff] [review]
Catch and cope with XMLHttpRequest errors.

r=rginda
Attachment #145889 - Flags: review+
Checked in.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Other Applications
Product: Other Applications → Other Applications Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: