OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <script> | 3 <script> |
4 if (window.testRunner) { | 4 if (window.testRunner) { |
5 testRunner.dumpAsText(); | 5 testRunner.dumpAsText(); |
6 testRunner.waitUntilDone(); | 6 testRunner.waitUntilDone(); |
7 } | 7 } |
8 | 8 |
9 onload = function() { | 9 onload = function() { |
10 x.innerHTML += ''; | 10 x.innerHTML += ''; |
11 } | 11 } |
12 | 12 |
13 setTimeout(function() { | 13 setTimeout(function() { |
14 document.designMode = 'on'; | 14 document.designMode = 'on'; |
15 document.execCommand('selectall'); | 15 document.execCommand('selectall'); |
16 document.execCommand('bold'); | 16 document.execCommand('bold'); |
17 | 17 |
18 document.body.offsetTop; | 18 document.body.offsetTop; |
19 document.body.innerHTML = "PASS. WebKit didn't crash."; | 19 document.body.innerHTML = "PASS. WebKit didn't crash."; |
20 | 20 |
21 if (window.testRunner) | 21 if (window.testRunner) |
22 testRunner.notifyDone(); | 22 testRunner.notifyDone(); |
23 }, 0) | 23 }, 0) |
24 </script> | 24 </script> |
25 <div id="x"><iframe src="data:"></iframe> | 25 <div id="x"><iframe src="data:"></iframe> |
26 <span><span><plaintext> | 26 <span><span><plaintext> |
27 | 27 |
OLD | NEW |