Crash in Safari opening new tabs to "same page"
<rdar://problem/7593857> and https://bugs.webkit.org/show_bug.cgi?id=34444 Reviewed by Adele Peterson. WebCore: Test: fast/loader/crash-copying-backforwardlist.html * loader/FrameLoader.cpp: (WebCore::FrameLoader::loadItem): Null check currentItem(). * page/Page.cpp: (WebCore::Page::goToItem): Ditto. WebKitTools: Add a mode (Mac-only for now) that exercises the WebView SPI _loadBackForwardListFromOtherView: * DumpRenderTree/LayoutTestController.cpp: (LayoutTestController::LayoutTestController): (setNewWindowsCopyBackForwardListCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: (LayoutTestController::newWindowsCopyBackForwardList): (LayoutTestController::setNewWindowsCopyBackForwardList): * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate webView:createWebViewWithRequest:]): LayoutTests: * fast/loader/crash-copying-backforwardlist-expected.txt: Added. * fast/loader/crash-copying-backforwardlist.html: Added. * platform/gtk/Skipped: * platform/qt/Skipped: * platform/win/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54145 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment