tests: Add url to window_open.html
This commit is contained in:
parent
8b7d21876f
commit
30c07e9b5c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user