[Webkit-unassigned] [Bug 87783] Setting to allow synchronous XHRs to be disabled in documents is not reset between tests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 29 17:48:17 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=87783





--- Comment #6 from Mihai Parparita <mihaip at chromium.org>  2012-05-29 17:48:16 PST ---
(In reply to comment #5)
> TestController::resetStateToConsistentValues is the function. Yes, it doesn't appear to call resetInternalsObject (whoa!)

As far as I can tell, the call wouldn't be right there, since this needs to happen in the web process. However, that does send a "reset" message to the process, which eventually ends up in InjectBundlePage::reset. Doing the reset there seems to make sense, but it crashes with:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Thread 0 Crashed:  Dispatch queue: com.apple.main-thread
0   libWebCoreTestSupport.dylib       0x0000000106704b07 WebCore::toInternals(JSC::JSValue) + 23 (JSCell.h:195)
1   libWebCoreTestSupport.dylib       0x0000000106712a89 WebCoreTestSupport::resetInternalsObject(OpaqueJSContext const*) + 265 (WebCoreTestSupport.cpp:55)
2   WebKitTestRunnerInjectedBundle    0x000000010655f103 WTR::InjectedBundlePage::reset() + 185
3   WebKitTestRunnerInjectedBundle    0x000000010655d637 WTR::InjectedBundle::beginTesting(OpaqueWKDictionary const*) + 491 (InjectedBundle.cpp:235)
4   WebKitTestRunnerInjectedBundle    0x000000010655d719 WTR::InjectedBundle::didReceiveMessage(OpaqueWKString const*, void const*) + 193 (WKRetainPtr.h:85)
5   com.apple.WebKit2                 0x000000010022082c WebKit::InjectedBundleClient::didReceiveMessage(WebKit::InjectedBundle*, WTF::String const&, WebKit::APIObject*) + 78 (PassRefPtr.h:51)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list