nsXPCWrappedJSClass::CheckForException creates report without setting script error properties

NEW
Unassigned

Status

()

Core
XPConnect
13 years ago
12 years ago

People

(Reporter: WeirdAl, Unassigned)

Tracking

(Blocks: 1 bug, {testcase})

Trunk
x86
Windows XP
testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
Messages like this are fun:
************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "Could not convert JavaScript argument arg 2
[nsIDOMDocumentTraversal.createTreeWalker]"  nsresult: "0x80570009
(NS_ERROR_XPC_BAD_CONVERT_JS)"  location: "JS frame ::
chrome://global/content/tests/dynamicCmdAttr.xul :: compileIdsAndRefs :: line
64"  data: no]
************************************************************

00 ntdll!DbgBreakPoint
01 xpcom_core!nsDebugImpl::Break+0x7e
02 xpcom_core!nsDebugImpl::Assertion+0x29e
03 xpcom_core!NSGlue_Assertion+0x4d
04 xpc3250!nsScriptError::Init+0x4a
05 xpc3250!nsXPCWrappedJSClass::CheckForException+0x4a9
06 xpc3250!nsXPCWrappedJSClass::CallMethod+0xe7c
07 xpc3250!nsXPCWrappedJS::CallMethod+0x3f
08 xpcom_core!PrepareAndDispatch+0x346
09 xpcom_core!SharedStub+0x16
...
(Reporter)

Comment 1

13 years ago
I'm going to replace the assertion I would've added for bug 312630 with a
warning.  There's just too many instances to justify crashing the program.
Keywords: assertion

Comment 2

13 years ago
I believe this may be a dupe of an old bug. Can't find it at the moment.
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
You need to log in before you can comment on or make changes to this bug.