parser/htmlparser/tests/mochitest/test_bug563322.xhtml
author Michael Wu <mwu@mozilla.com>
Sat, 06 Aug 2011 22:03:32 -0700
changeset 73984 f7dc94e1b75cb1a755a4872176602433bb33c2ba
parent 73607 1e3cf346898c66ca0149f7ceedb88d85d27d95ee
child 74318 1188456710819d4606e74396be333ead9fe63261
permissions -rw-r--r--
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg

<html xmlns="http://www.w3.org/1999/xhtml">
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=563322
-->
<head>
  <title>Test for Bug 563322</title>
  <script type="application/javascript" src="/MochiKit/packed.js"></script>
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=563322">Mozilla Bug 563322</a>
<p id="display"></p>
<div id="content" style="display: none">
  
</div>
<pre id="test">
<script type="application/javascript">
<![CDATA[

/** Test for Bug 563322 **/

var div = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
div.innerHTML = "<script>ok(false, 'Script ran but should not have')</script><script>ok(false, 'Script ran but should not have')</script>"

document.getElementById("content").appendChild(div);

ok(true, "Keep the harness happy");

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