When loading multipart/x-mixed-replace urls, if there's no data before the first boundary data, Safari on windows crashes (tested 3.0.2 and trunk r
Created attachment 15377 [details] Crash on safari windows
Hmm, it looks like my bug report got truncated. It should have said: Tested on trunk r23940. The crash is in ResourceLoader::clearResourceData() where it tries to clear m_resourceData which hasn't been initialized. This doesn't happen on Mac Safari because it first calls willStopBufferingData, which doesn't seem to be called at all by the windows resource handle. The simple fix seems to be to do a null check in clearResourceData().
Created attachment 15379 [details] null check m_resourceData
This looks like a fix that really needs an automated test.
Comment on attachment 15379 [details] null check m_resourceData Good fix. Please add an http layout test (the tests in LayoutTests/http run on a local server, so you can generate multipart/x-mided-replace output). Also, please add an explanation of the bug being fixed to the ChangeLog entry. r- for now, please resubmit with these things fixed.
Created attachment 15410 [details] null check m_resourceData and layout test
Comment on attachment 15410 [details] null check m_resourceData and layout test r=me
Landed in r24053. Thanks for the patch!