WebCore should not send invalid URLs to client createWindow methods.
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 23:22:46 +0000 (23:22 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 Jan 2012 23:22:46 +0000 (23:22 +0000)
commitb34321dd4df289ff77f95039bf513e909c3ef75b
treede107a70ce4638c12b51a46a4488c56bae289251
parentaa2daee92e10f20f4b4b7c9a0e0818f0d114aca7
    WebCore should not send invalid URLs to client createWindow methods.
        https://bugs.webkit.org/show_bug.cgi?id=39017

        Reviewed by Sam Weinig.

        Test: fast/dom/window/open-invalid-url.html

        * page/DOMWindow.cpp: (WebCore::DOMWindow::createWindow): Bail out early for invalid URLs.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/dom/Window/open-invalid-url-expected.txt [new file with mode: 0644]
LayoutTests/fast/dom/Window/open-invalid-url.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/DOMWindow.cpp