tests: Add url to window_open.html
This commit is contained in:
parent
8b7d21876f
commit
30c07e9b5c
@ -7,7 +7,7 @@
|
|||||||
if (window.showModalDialog) {
|
if (window.showModalDialog) {
|
||||||
window.showModalDialog();
|
window.showModalDialog();
|
||||||
} else {
|
} else {
|
||||||
window.open('', 'window', 'modal');
|
window.open('hello.txt', 'window', 'modal');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<body>
|
<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>
|
<button onclick="open_modal()" id="open-modal">modal</button>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
Loading…
Reference in New Issue
Block a user