Opening links in a new window asserts while decoding decidePolicyForNewWindowAction. ASSERTION FAILED: size == bufferSize (OpenSource/WebKit2/Platform/CoreIPC/ArgumentDecoder.cpp:108 bool CoreIPC::ArgumentDecoder::decodeBytes(uint8_t*, size_t)) Backtrace: #0 0x1016727b4 in CoreIPC::ArgumentDecoder::decodeBytes at ArgumentDecoder.cpp:108 #1 0x101699ea7 in CoreIPC::ArgumentCoder<WTF::String>::decode at WebCoreArgumentCoders.h:81 #2 0x1016819d9 in CoreIPC::ArgumentDecoder::decode<WTF::String> at ArgumentDecoder.h:73 #3 0x1016e994e in CoreIPC::Arguments4<unsigned long long&, unsigned int&, unsigned int&, WTF::String&>::decode at Arguments.h:187 #4 0x1016ea4cb in CoreIPC::Arguments5<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&>::decode at Arguments.h:220 #5 0x1016ea514 in CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&>::decode at Arguments.h:256 #6 0x1016ea55d in CoreIPC::ArgumentCoder<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> >::decode at ArgumentCoder.h:44 #7 0x1016ea57f in CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> > at ArgumentDecoder.h:73 #8 0x1016ea5a1 in CoreIPC::ArgumentDecoder::decode<CoreIPC::Arguments6<unsigned long long&, unsigned int&, unsigned int&, WTF::String&, int&, unsigned long long&> > at ArgumentDecoder.h:80 #9 0x1016defff in WebKit::WebPageProxy::didReceiveMessage at WebPageProxy.cpp:733 #10 0x1016fc9ba in WebKit::WebProcessProxy::didReceiveMessage at WebProcessProxy.cpp:355 #11 0x101678e4b in CoreIPC::Connection::dispatchMessages at Connection.cpp:278 #12 0x10167a075 in MemberFunctionWorkItem0<CoreIPC::Connection>::execute at WorkItem.h:74 #13 0x1016ad973 in RunLoop::performWork at RunLoop.cpp:62 #14 0x1016ae9b5 in RunLoop::performWork at RunLoopMac.mm:32
<rdar://problem/8479445>
Created attachment 68912 [details] Patch
Fixed in r68392.