| OLD | NEW |
| (Empty) |
| 1 | |
| 2 <script> | |
| 3 | |
| 4 var runTests = function () { | |
| 5 | |
| 6 if (!window.testRunner) | |
| 7 return; | |
| 8 | |
| 9 testRunner.dumpAsText(); | |
| 10 testRunner.waitUntilDone(); | |
| 11 | |
| 12 var d = document.getElementById("d1"); | |
| 13 | |
| 14 setTimeout(function () { | |
| 15 d.open = false; | |
| 16 setTimeout(function () { | |
| 17 d.open = true; | |
| 18 setTimeout(function () { | |
| 19 d.open = false; | |
| 20 testRunner.notifyDone(); | |
| 21 }, 1); | |
| 22 }, 1); | |
| 23 }, 1); | |
| 24 }; | |
| 25 | |
| 26 </script> | |
| 27 | |
| 28 <body onload="runTests()"> | |
| 29 Test passes if it does not crash. | |
| 30 <li><details open id="d1">some text</details></li> | |
| 31 </body> | |
| OLD | NEW |