Closed Bug 582126 Opened 16 years ago Closed 13 years ago

Quickstubs throws incorrect error when calling functions on incompatible objects

Categories

(Core :: XPConnect, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: bent.mozilla, Unassigned)

Details

This line: var foo = XMLHttpRequest.prototype.send(); causes this: Error: uncaught exception: [Exception... "Operation failed because the XPConnect subsystem has been shutdown" nsresult: "0x80570033 (NS_ERROR_XPC_HAS_BEEN_SHUTDOWN)" location: "JS frame :: javascript:var%20foo%20=%20XMLHttpRequest.prototype.send(); :: <TOP_LEVEL> :: line 1" data: no] mrbkap says it's this here: http://mxr.mozilla.org/mozilla-central/source/js/src/xpconnect/src/xpcquickstubs.cpp#890
Here's what it said originally: http://hg.mozilla.org/mozilla-central/annotate/27664/js/src/xpconnect/src/xpcquickstubs.cpp#l890 I'm not sure what the right fix is though. peterv?
I don't think we care about quickstubs edge cases at this point.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.