Closed Bug 714474 Opened 13 years ago Closed 12 years ago

###!!! ASSERTION: JSEventListener has wrong script context?: 'stack && NS_SUCCEEDED(stack->Peek(&cx)) && cx && GetScriptContextFromJSContext(cx) == mContext', file ../../../../dom/src/events/nsJSEventListener.cpp, line 205 during test_bug386728.html

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 807226

People

(Reporter: khuey, Unassigned)

Details

(Keywords: assertion)

The stack isn't particularly interesting: nsJSEventListener::HandleEvent [nsJSEventListener.cpp:203] nsEventListenerManager::HandleEventSubType [nsEventListenerManager.cpp:734] nsEventListenerManager::HandleEventInternal [nsEventListenerManager.cpp:791] nsEventTargetChainItem::HandleEvent [nsCOMPtr.h:790] nsEventTargetChainItem::HandleEventTargetChain [nsEventDispatcher.cpp:347] nsEventDispatcher::Dispatch [nsEventDispatcher.cpp:685] nsGenericHTMLElement::Click [nsGenericHTMLElement.cpp:3519] nsIDOMHTMLElement_Click [dom_quickstubs.cpp:14663] js::CallJSNative [jscntxtinlines.h:311] js::InvokeKernel [jsinterp.cpp:549] js::Interpret [jsinterp.cpp:3411] js::InvokeKernel [jsinterpinlines.h:70] js_fun_apply [jsinterp.h:157] js::CallJSNative [jscntxtinlines.h:311] js::InvokeKernel [jsinterp.cpp:549] js::Interpret [jsinterp.cpp:3411] js::InvokeKernel [jsinterpinlines.h:70] js::Invoke [jsinterp.cpp:576] JS_CallFunctionValue [jsapi.cpp:5238] nsJSContext::CallEventHandler [nsJSEnvironment.cpp:1965] nsJSEventListener::HandleEvent [nsJSEventListener.cpp:209] nsEventListenerManager::HandleEventSubType [nsEventListenerManager.cpp:734] nsEventListenerManager::HandleEventInternal [nsEventListenerManager.cpp:791] nsEventTargetChainItem::HandleEvent [nsCOMPtr.h:790] nsEventTargetChainItem::HandleEventTargetChain [nsEventDispatcher.cpp:347] nsEventDispatcher::Dispatch [nsEventDispatcher.cpp:685] DocumentViewerImpl::LoadComplete [nsDocumentViewer.cpp:1064] nsDocShell::EndPageLoad [nsDocShell.cpp:6147] nsDocShell::OnStateChange [nsDocShell.cpp:5977] nsDocLoader::DoFireOnStateChange [nsDocLoader.cpp:1383] nsDocLoader::doStopDocumentLoad [nsDocLoader.cpp:962] nsDocLoader::DocLoaderIsEmpty [nsDocLoader.cpp:854] nsDocLoader::OnStopRequest [nsDocLoader.cpp:736] nsLoadGroup::RemoveRequest [nsLoadGroup.cpp:734] nsDocument::DoUnblockOnload [nsDocument.cpp:7192] nsDocument::DispatchContentLoadedEvents [nsDocument.cpp:4156] nsRunnableMethodImpl<void (nsDocument::*)(), true>::Run [nsThreadUtils.h:345] nsThread::ProcessNextEvent [nsThread.cpp:660] NS_ProcessNextEvent_P [nsThreadUtils.cpp:245] mozilla::ipc::MessagePump::Run [MessagePump.cpp:111] MessageLoop::RunInternal [message_loop.cc:208] MessageLoop::Run [message_loop.cc:487] nsBaseAppShell::Run [nsBaseAppShell.cpp:191] nsAppStartup::Run [nsAppStartup.cpp:221] XRE_main [nsAppRunner.cpp:3524] main [nsBrowserApp.cpp:201] libc.so.6 + 0x16bb6
This is a dup.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.