Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <body> | |
| 3 <script> | |
| 4 function callback() { | |
| 5 style0.innerHTML = ''; | |
| 6 iframe0.removeChild(style0); | |
| 7 } | |
| 8 | |
| 9 style0=document.createElement('style'); | |
| 10 style0.innerHTML = 'span { color: blue; }'; | |
| 11 | |
| 12 iframe0=document.createElement('iframe'); | |
| 13 iframe0.appendChild(style0); | |
| 14 iframe0.src='javascript:window.top.callback();'; | |
| 15 document.body.appendChild(iframe0); | |
| 16 | |
| 17 if (window.testRunner) { | |
| 18 testRunner.waitUntilDone(); | |
| 19 testRunner.dumpAsText(); | |
| 20 setTimeout(function() { | |
| 21 testRunner.notifyDone(); | |
| 22 }, 0); | |
|
esprehn
2014/04/02 19:45:10
What are you trying to do with the setTimeout? Wai
gmorrita
2014/04/02 19:47:30
Oops. This part just survived from my first change
| |
| 23 } | |
| 24 </script> | |
| 25 <p>PASS unless crash</p> | |
| 26 </body> | |
| OLD | NEW |