How we built it

Disallow and document.write during unload

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 during unload.


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


Established standard

Status in Chromium

Proposed (launch bug)

Consensus & Standardization

  • Shipped
  • No public signals
  • Shipped
  • No signals


Last updated on 2016-03-11