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

Chrome v134 (2025-03-04) Chrome Android v134 (2025-03-04) Edge v134 (2025-03-06) Safari v18.4 (2025-03-31) Safari on iOS v18.4 (2025-03-31) Firefox v139 (2025-05-27) Firefox for Android v139 (2025-05-27)
Green dot marks the first browser release (2025-03-04); blue dots show subsequent browser launches (+84d total span).

Browser Support Releases

BrowserTypeVersionRelease 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 KeyAreaCore-3 TTA
api.HTMLDialogElement.requestClose DOM API 84d