summaryrefslogtreecommitdiffstats
path: root/dom/base/crashtests/483818-1.html
blob: 11cc7c4aca8102e1a577ddebcbe409b4dccf4f06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<html>
  <head>
    <script>
function appendScript(doc) {
  var s = doc.createElement("script");
  s.textContent = "document.write('executed'); document.close()";
  doc.body.appendChild(s);
}
    </script>
  </head>
  <body onload="appendScript(window.document)">
  </body>
</html>