This assertion is sometimes hit when running tests: 0 com.apple.JavaScriptCore 0x000000010f0eeaee WTFCrash + 62 1 WebKitTestRunner 0x000000010ef0c5bf 0x10eeff000 + 54719 2 com.apple.WebKit 0x000000010f9a11f9 std::__1::__function::__func<WKPageForceRepaint::$_1, std::__1::allocator<WKPageForceRepaint::$_1>, void (WebKit::CallbackBase::Error)>::operator()(WebKit::CallbackBase::Error&&) + 77 3 com.apple.WebKit 0x000000010f85f9e4 WebKit::GenericCallback<>::performCallbackWithReturnValue() + 44 4 com.apple.WebKit 0x000000010f78ef21 WebKit::WebPageProxy::voidCallback(unsigned long long) + 45 5 com.apple.WebKit 0x000000010f9366c6 WebKit::WebPageProxy::didReceiveMessage(IPC::Connection&, IPC::MessageDecoder&) + 9224 6 com.apple.WebKit 0x000000010f7f7ed5 IPC::MessageReceiverMap::dispatchMessage(IPC::Connection&, IPC::MessageDecoder&) + 113 rdar://problem/20874156
Created attachment 279550 [details] proposed fix I'm not quite certain if this eliminates every possibility for race, but it does seem to prevent the crash in my testing.
Comment on attachment 279550 [details] proposed fix r=me
<rdar://problem/20874156>
Comment on attachment 279550 [details] proposed fix Clearing flags on attachment: 279550 Committed r201263: <http://trac.webkit.org/changeset/201263>
All reviewed patches have been landed. Closing bug.