summaryrefslogtreecommitdiff
path: root/Tools/TestWebKitAPI/Tests/mac/OpenNewWindow.html
blob: 975f6d98dfd322dd1787cfa69cbf8ba044a0daa9 (plain)
1
2
3
4
5
6
7
<a href="#" onclick="openWindow()"></a>
<script>
    function openWindow() {
        window.open("window-to-ignore.html", "newWindow");
    }
    document.getElementsByTagName("a")[0].click();
</script>