| OLD | NEW |
| 1 <!DOCTYPE html> |
| 1 <html> | 2 <html> |
| 2 <head> | |
| 3 <style id="m"></style> | |
| 4 </head> | |
| 5 <body> | 3 <body> |
| 6 <script> | 4 <script> |
| 7 var g = ":not\\( .title{}"; | 5 if (window.testRunner) { |
| 8 var me = document.getElementById("m"); | 6 testRunner.waitUntilDone(); |
| 9 window.setTimeout(runTest,0); | 7 testRunner.dumpAsText(); |
| 10 function runTest(){ | 8 } |
| 11 me.textContent=g; | 9 |
| 10 paintWorklet.import('resources/global-interface-listing-worklet.js').then(fu
nction() { |
| 12 if (window.testRunner) { | 11 if (window.testRunner) { |
| 13 testRunner.notifyDone(); | 12 testRunner.notifyDone(); |
| 14 } | 13 } |
| 15 } | 14 }); |
| 16 if (window.testRunner) { | |
| 17 testRunner.dumpAsText(); | |
| 18 testRunner.waitUntilDone(); | |
| 19 } | |
| 20 </script> | 15 </script> |
| 21 <p>PASS without crash.</p> | |
| 22 </body> | 16 </body> |
| 23 </html> | 17 </html> |
| OLD | NEW |