WPT
wpt / html / semantics / interactive-elements / the-dialog-element / dialog-requestclose.html
Spec: HTML ↗
Runs: Chrome 155.0.8042.0 (wpt@4eb09bcd9, 2026-09-04) | Firefox 157.0a1 (wpt@c3fcbf4ba, 2026-09-04) | Safari 251 preview (wpt@e7122b73f, 2026-09-04) | Ladybird 1.0-52f0f (wpt@a1ecd0c09, 2026-09-04) | Servo Servo 0.6 (wpt@2c385f65e, 2026-09-04) | Blitz a50cb8971 (wpt@a95401e4e, 2026-09-03)
View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi
| Chrome | Firefox | Safari | Ladybird | Servo | Blitz | |
|---|---|---|---|---|---|---|
| Total | 75/75 | 75/75 | 75/75 | 75/75 | 0/75 | NOT RUN |
| Subtest | Chrome | Firefox | Safari | Ladybird | Servo | Blitz |
|---|---|---|---|---|---|---|
| requestClose basic behavior for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modeless dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modeless dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modeless dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modeless dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for modal dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for modal dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for modal dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for modal dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=null | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=any | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose can be cancelled for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose avoids abuse prevention logic for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) doesn't change returnvalue when cancelled for open dialog with closedby=closedrequest | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior for open dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires both cancel and close for open dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| closedby has no effect on dialog.requestClose() for open dialog with closedby=none | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose basic behavior when dialog is open via attribute | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose fires cancel and close when dialog is open via attribute | PASS | PASS | PASS | PASS | FAIL | — |
| requestClose(returnValue) passes along the return value when dialog is open via attribute | PASS | PASS | PASS | PASS | FAIL | — |