tests: Add url to window_open.html

This commit is contained in:
Florian Bruhin 2016-09-02 16:28:15 +02:00
parent 8b7d21876f
commit 30c07e9b5c

View File

@ -7,7 +7,7 @@
if (window.showModalDialog) {
window.showModalDialog();
} else {
window.open('', 'window', 'modal');
window.open('hello.txt', 'window', 'modal');
}
}
</script>
@ -15,7 +15,7 @@
<body>
<button onclick="window.open('', 'window')" id="open-normal">normal</button>
<button onclick="window.open('hello.txt', 'window')" id="open-normal">normal</button>
<button onclick="open_modal()" id="open-modal">modal</button>
</body>