Aligns our behavior to match Firefox, Safari, and the spec. Allows potential future simplification of code: there have been a number of bugs in the past related to using document.open during unload.

Specification

Established standard

Status in Chromium

Blink


Proposed (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Comments

Note: Edge currently allows document.write while a document is unloading.

Last updated on 2021-04-12