Baseline Newly HTML elements
dialog.requestClose()
The requestClose() method of a <dialog> HTML element closes the dialog, firing a cancel event first, which listeners can use to prevent the dialog from closing. This differs from the close() method, which only fires the non-cancelable close event.
Baseline Status
Newly Available
Since 2025-05-27
First Core Launch
Chrome 134
2025-03-04
Core-3 Stability
84d
Last: Firefox (2025-05-27)
BCD Keys Mapped
1
Group: HTML elements
Browser Support Timeline
Browser Support Releases
| Browser | Type | Version | Release Date |
|---|---|---|---|
| Chrome | desktop | 134 | 2025-03-04 |
| Chrome Android | mobile | 134 | 2025-03-04 |
| Edge | desktop | 134 | 2025-03-06 |
| Safari | desktop | 18.4 | 2025-03-31 |
| Safari on iOS | mobile | 18.4 | 2025-03-31 |
| Firefox | desktop | 139 | 2025-05-27 |
| Firefox for Android | mobile | 139 | 2025-05-27 |
Constituent MDN BCD Keys (Sample)
| BCD Key | Area | Core-3 TTA |
|---|---|---|
| api.HTMLDialogElement.requestClose | DOM API | 84d |