-
japhet@chromium.org authored
Reviewed by Adam Barth. Test for https://bugs.webkit.org/show_bug.cgi?id=52769. * fast/dom/Window/Location/resources/set-location-after-close-new-window.html: Added. * fast/dom/Window/Location/set-location-after-close-expected.txt: Added. * fast/dom/Window/Location/set-location-after-close.html: Added. 2011-01-20 Nate Chapin <japhet@chromium.org> Reviewed by Adam Barth. Null-check m_frame in DOMWindow::setLocation(), since it's possible to reach this point without it having been checked already. https://bugs.webkit.org/show_bug.cgi?id=52769 Test: fast/dom/Window/Location/set-location-after-close.html * page/DOMWindow.cpp: (WebCore::DOMWindow::setLocation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2aa1491b