summaryrefslogtreecommitdiffstats
path: root/parser/htmlparser/tests/mochitest/test_bug642908.html
blob: 97a6fc124b3c4473b7afe0050c1fe7e33394c631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=642908
-->
<head>
  <title>Test for Bug 642908</title>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body onload="loaded();">
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=642908">Mozilla Bug 642908</a>
<p id="display"></p>
<div id="content" style="display: none">
  
</div>
<pre id="test">
<script type="application/javascript">
SimpleTest.waitForExplicitFinish();
document.write("\u003Cscript src='data:text/javascript,1;'>\u003C/script>");
document.write("<noscript><img src='file_bug642908.sjs'></noscript>");

function loaded() {
  var s = document.createElement("script");
  s.src = "file_bug642908.sjs?report=1";
  document.body.appendChild(s);
}

</script>
</pre>
</body>
</html>