Closed Bug 231534 Opened 20 years ago Closed 20 years ago
Error: XMLHttp Request is not defined @ <chrome://venkman/content/venkman-static .js> 651
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
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+
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.