Pass | dialog-no-throw-requested-state | Asserts runPass | assert_throws_dom("InvalidStateError", function "() => dialog.showModal()", "Calling showModal() on a dialog that is already showing non-modal should throw.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-no-throw-requested-state.html:19:3) | Pass | assert_throws_dom("InvalidStateError", function "() => dialog.show()", "Calling show() on a dialog that is already showing modal should throw.")
at Test.<anonymous> ( /html/semantics/interactive-elements/the-dialog-element/dialog-no-throw-requested-state.html:24:3) |
|