-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=98287 Reviewed by Nate Chapin. Source/WebCore: Calling document.open results in us nulling out m_documentLoader. This code doesn't properly handle that case and crashes. Test: fast/parser/document-open-in-unload.html * loader/FrameLoader.cpp: (WebCore::FrameLoader::commitProvisionalLoad): LayoutTests: Test that we don't crash when calling document.open during the unload event. * fast/parser/document-open-in-unload-expected.txt: Added. * fast/parser/document-open-in-unload.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130313 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f12783fe