| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| |
| function runTest() { |
| let dialogElement = document.getElementById("htmlvar00011"); |
| |
| let newDocument = window.document.implementation.createHTMLDocument(); |
| newDocument.adoptNode(dialogElement); |
| dialogElement.show(); |
| |
| window.testRunner?.notifyDone(); |
| } |
| </script> |
| |
| <body onload="runTest()"> |
| <p>This test passes if WebKit does not crash.</p> |
| <dialog id="htmlvar00011" ondragend="eventhandler5()"> |
| <math href="x" dir="ltr"></math> |
| </dialog> |
| </body> |