Closed Bug 434242 Opened 17 years ago Closed 17 years ago

test_bug356370.js asserts in debug builds, makes xpcshell tests fail

Categories

(Toolkit :: Add-ons Manager, defect)

x86
macOS
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 428078

People

(Reporter: Waldo, Unassigned)

Details

This prevents me from running all the tests to make sure a patch I've written doesn't regress anything.

Log is as follows:


../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug356370.js: /Users/jwalden/moz/2/tools/test-harness/xpcshell-simple/test_all.sh: line 129:  7345 Abort trap              NATIVE_TOPSRCDIR="$native_topsrcdir" TOPSRCDIR="$topsrcdir" $xpcshell -s $headfiles -f $t $tailfiles 2>$t.log 1>&2
FAIL
../../../../_tests/xpcshell-simple/test_extensionmanager/unit/test_bug356370.js.log:
>>>>>>>
*** test pending
*** Item Installed via directory addition to Install Location: app-global Item ID: inspector@mozilla.org, attempting to register...
*** Item Installed/Upgraded at Install Location: app-global Item ID: inspector@mozilla.org, attempting to register...
*** ... success, item is compatible
*** Item Installed via directory addition to Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register...
*** Item Installed/Upgraded at Install Location: app-global Item ID: {972ce4c6-7e08-4474-a285-3208198ce6fd}, attempting to register...
*** ... success, item installed but is not compatible
*** Item bug356370_2@tests.mozilla.org">bug356370_2@tests.mozilla.org was installed in an unknown location, removing.
*** Activating item bug356370_2@tests.mozilla.org">bug356370_2@tests.mozilla.org in app-profile
*** Item Installed/Upgraded at Install Location: app-profile Item ID: bug356370_2@tests.mozilla.org">bug356370_2@tests.mozilla.org, attempting to register...
*** ... success, item is compatible
*** Item bug356370_3@tests.mozilla.org">bug356370_3@tests.mozilla.org was installed in an unknown location, removing.
###!!! ASSERTION: attempted to open a new window with no WindowCreator: 'mWindowCreator', file /Users/jwalden/moz/2/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 648
nsWindowWatcher::OpenWindowJSInternal(nsIDOMWindow*, char const*, char const*, char const*, int, nsIArray*, int, nsIDOMWindow**) (/Users/jwalden/moz/2/embedding/components/windowwatcher/src/nsWindowWatcher.cpp:647)
nsWindowWatcher::OpenWindow(nsIDOMWindow*, char const*, char const*, char const*, nsISupports*, nsIDOMWindow**) (/Users/jwalden/moz/2/embedding/components/windowwatcher/src/nsWindowWatcher.cpp:419)
NS_InvokeByIndex_P (/Users/jwalden/moz/2/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179)
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappednative.cpp:2388)
XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473)
js_Invoke (/Users/jwalden/moz/2/js/src/jsinvoke.cpp:1303)
js_Interpret (/Users/jwalden/moz/2/js/src/jsinterp.cpp:4858)
js_Invoke (/Users/jwalden/moz/2/js/src/jsinvoke.cpp:1319)
nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS*, unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappedjsclass.cpp:1523)
nsXPCWrappedJS::CallMethod(unsigned short, XPTMethodDescriptor const*, nsXPTCMiniVariant*) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappedjs.cpp:559)
PrepareAndDispatch(nsXPTCStubBase*, unsigned int, unsigned int*) (/Users/jwalden/moz/2/xpcom/reflect/xptcall/src/md/unix/xptcstubs_unixish_x86.cpp:93)
nsXPTCStubBase::Stub4() (/Users/jwalden/moz/builds/2/xpcom/reflect/xptcall/src/md/unix/../../../../../../dist/include/xpcom/xptcstubsdef.inc:2)
NS_InvokeByIndex_P (/Users/jwalden/moz/2/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp:179)
XPCWrappedNative::CallMethod(XPCCallContext&, XPCWrappedNative::CallMode) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappednative.cpp:2388)
XPC_WN_CallMethod(JSContext*, JSObject*, unsigned int, long*, long*) (/Users/jwalden/moz/2/js/src/xpconnect/src/xpcwrappednativejsops.cpp:1473)
js_Invoke (/Users/jwalden/moz/2/js/src/jsinvoke.cpp:1303)
js_Interpret (/Users/jwalden/moz/2/js/src/jsinterp.cpp:4858)
js_Execute (/Users/jwalden/moz/2/js/src/jsinvoke.cpp:1542)
JS_ExecuteScript (/Users/jwalden/moz/2/js/src/jsapi.cpp:4895)
ProcessFile(JSContext*, JSObject*, char const*, __sFILE*, int) (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:670)
Process(JSContext*, JSObject*, char const*, int) (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:749)
ProcessArgs(JSContext*, JSObject*, char**, int) (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:868)
main (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:1453)
_start (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:114)
start (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:114)

<<<<<<<
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
V.Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.