You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow document.open()/write() to be called on non-active documents
There is no longer anything fundamental that prevents document.open()
from being useful on non-active documents. This also aligns with Chrome,
Edge, and Safari. In fact, some developers already utilize this property
as a streaming HTML parser to desirable effect (see #2827).
Additionally, use a more appropriate guard for erasing event listeners
and handlers on the Window object, as revealed by the tests.
Fixes#2827.
Tests: web-platform-tests/wpt#12636
Tests: web-platform-tests/wpt#12770
0 commit comments