| <script> | |
| var runTests = function () { | |
| if (!window.testRunner) | |
| return; | |
| testRunner.dumpAsText(); | |
| testRunner.waitUntilDone(); | |
| var d = document.getElementById("d1"); | |
| setTimeout(function () { | |
| d.open = false; | |
| setTimeout(function () { | |
| d.open = true; | |
| setTimeout(function () { | |
| d.open = false; | |
| testRunner.notifyDone(); | |
| }, 1); | |
| }, 1); | |
| }, 1); | |
| }; | |
| </script> | |
| <body onload="runTests()"> | |
| Test passes if it does not crash. | |
| <li><details open id="d1">some text</details></li> | |
| </body> |