blob: 5a4dd90add11ef32cc91b128e09783d5a3ae75dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<body>
<script>
if (window.testRunner)
testRunner.dumpAsText();
onload = function() {
var style = document.createElement("style");
document.body.appendChild(style);
var option = document.createElement("option");
var newdoc = document.implementation.createDocument("", null);
newdoc.appendChild(document.body);
style.appendChild(option);
document.body = document.createElement('body');
document.body.innerHTML = 'PASS if no crash.';
}
</script>
</body>
|