-
levin@chromium.org authored
2009-05-13 David Levin <levin@chromium.org> Reviewed by Darin Adler. Bug 25394: REGRESSION: crash in DocumentLoader::addResponse due to bad |this| pointer https://bugs.webkit.org/show_bug.cgi?id=25394 Test: http/tests/xmlhttprequest/frame-unload-abort-crash.html * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::create): Add another check to subresource loader to avoid doing any loads in frames when the loaders are being stopped. LayoutTests: 2009-05-13 David Levin <levin@chromium.org> Reviewed by Darin Adler. Bug 25394: REGRESSION: crash in DocumentLoader::addResponse due to bad |this| pointer https://bugs.webkit.org/show_bug.cgi?id=25394 Request a subresource load for an IMG after 'unload' and before the next page load completes to expose the crash. * http/tests/xmlhttprequest/frame-unload-abort-crash-expected.txt: Added. * http/tests/xmlhttprequest/frame-unload-abort-crash.html: Added. * http/tests/xmlhttprequest/resources/xmlhttprequest-in-unload.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
0be72014