Add test to confirm Node.js is disabled in a new window
This commit is contained in:
15
test/modules/test.html
Normal file
15
test/modules/test.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<html>
|
||||
|
||||
<body>
|
||||
<h1>window.open() test</h1>
|
||||
<p>
|
||||
<input type="button" value="window.open()" onclick="open_window()">
|
||||
</p>
|
||||
<script>
|
||||
function open_window() {
|
||||
window.open('./test.html');
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user