3 <title>innerHTML smoketest
</title>
8 What we're going to do is use JavaScript to calculate
9 fixpoints of innerHTML parse and reparsing. We start with
10 an input value, encoded in a JavaScript string.
14 We then snapshot the DOM state of x, and then perform the
17 intermediate = x.innerHTML
18 x.innerHTML = intermediate
20 What inputs are we going to test?
22 We will generate using the following alphabet:
24 a01~!@#$%^&*()_+`-=[]\{}|;':",./<>? (and <space>)
29 <textarea id=
"out" style=
"width:100%;height:100%;"></textarea>
30 <div id=
"testContainer" style=
"display:none"></div>
31 <script src=
"innerHTML.js" type=
"text/javascript"></script>