blob: b0924aee8ab7627f046733d8eab7de197245a03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<html>
<head>
<script>
function runTest() {
if (window.testRunner)
testRunner.dumpAsText();
var doc = document.implementation.createHTMLDocument("");
doc.open();
doc.write('<html><noscript></noscript><canvas></canvas></html>')
}
</script>
</head>
<body onload="runTest()">
<div>
This test that adding a noscript tag into a document created using createHTMLDocument doesn't crash.
</div>
<div>SUCCESS!</div>
</html>
|