Intent to Implement and Ship: Disallow document.open and document.write during unload
41 views
Skip to first unread message
Daniel Cheng
unread,
Mar 10, 2016, 10:49:40 PM3/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to blink-dev
dch...@chromium.orghttps://html.spec.whatwg.org/multipage/webappapis.html#opening-the-input-stream
document.open() and document.write() while a document is unloading will be ignored.This aligns our behavior to match Firefox, Safari, and the spec. It also allows potential future simplification of code: there have been a number of bugs in the past related to using document.open during unload.
Firefox: Shipped
Edge: No public signals
Safari: Shipped
Web developers: No signals
Low risk: already shipped in Firefox for several years now.
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Daniel Cheng, blink-dev
LGTM1. It's safe because of the status of Firefox and Safari.
--
TAMURA Kent Software Engineer, Google
Jochen Eisinger
unread,
Mar 11, 2016, 1:23:02 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to TAMURA, Kent, Daniel Cheng, blink-dev
lgtm2
Philip Jägenstedt
unread,
Mar 11, 2016, 3:23:07 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Jochen Eisinger, TAMURA, Kent, Daniel Cheng, blink-dev
LGTM3
lgtm2
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
Chris Harrelson
unread,
Mar 11, 2016, 11:42:49 AM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Philip Jägenstedt, Jochen Eisinger, TAMURA, Kent, Daniel Cheng, blink-dev
LGTM4
Rick Byers
unread,
Mar 11, 2016, 3:06:55 PM3/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chris Harrelson, Philip Jägenstedt, Jochen Eisinger, TAMURA, Kent, Daniel Cheng, blink-dev