PageRenderTime 21ms CodeModel.GetById 18ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/parser/htmlparser/tests/mochitest/test_bug645115.html

http://github.com/zpao/v8monkey
HTML | 32 lines | 24 code | 5 blank | 3 comment | 0 complexity | d596552839b88a3b1102ae4e1b463927 MD5 | raw file
 1<!DOCTYPE HTML>
 2<html>
 3<!--
 4https://bugzilla.mozilla.org/show_bug.cgi?id=645115
 5-->
 6<head>
 7  <title>Test for Bug 645115</title>
 8  <script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
 9  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
10  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
11</head>
12<body>
13<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=645115">Mozilla Bug 645115</a>
14<p id="display"></p>
15<div id="content" style="display: none">
16  
17</div>
18<pre id="test">
19<script class="testbody" type="text/javascript">
20
21/** Test for Bug 645115 **/
22var div = document.createElement("div");
23div.innerHTML = "\u003Cscript>ok(false, 'innerHTML script ran');\u003C/script>\u003Cscript>";
24document.getElementById("content").appendChild(div);
25
26ok(true, "Keep the test harness happy.");
27
28</script>
29</pre>
30</body>
31</html>
32