ap@apple.com | b3b5c3b | 2010-01-09 00:30:03 +0000 | [diff] [blame] | 1 | <body> |
2 | <p>Should say PASS:</p> | ||||
3 | <div id="test"></div> | ||||
4 | <script> | ||||
rniwa@webkit.org | ada3c20 | 2012-06-20 03:28:42 +0000 | [diff] [blame] | 5 | if (window.testRunner) |
6 | testRunner.dumpAsText(); | ||||
ap@apple.com | b3b5c3b | 2010-01-09 00:30:03 +0000 | [diff] [blame] | 7 | |
8 | var e= document.createElement('script'); | ||||
9 | e.innerHTML= "document.getElementById('test').innerHTML='<p>PASS';"; | ||||
10 | document.body.appendChild(e); | ||||
11 | </script> |