WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153432
document.open() / write() should be prevented in beforeunload event handlers
https://bugs.webkit.org/show_bug.cgi?id=153432
Summary
document.open() / write() should be prevented in beforeunload event handlers
Chris Dumez
Reported
2016-01-25 11:07:05 PST
document.open() / write() should be prevented in beforeunload event handlers: -
https://html.spec.whatwg.org/multipage/webappapis.html#dom-document-open
(step 6) -
https://html.spec.whatwg.org/multipage/webappapis.html#dom-document-write
(step 3) -
https://html.spec.whatwg.org/multipage/webappapis.html#ignore-opens-during-unload-counter
-
https://html.spec.whatwg.org/multipage/browsers.html#unload-a-document
Attachments
Patch
(4.61 KB, patch)
2016-01-25 11:10 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-01-25 11:10:01 PST
Created
attachment 269764
[details]
Patch
WebKit Commit Bot
Comment 2
2016-01-26 15:22:26 PST
Comment on
attachment 269764
[details]
Patch Clearing flags on attachment: 269764 Committed
r195628
: <
http://trac.webkit.org/changeset/195628
>
WebKit Commit Bot
Comment 3
2016-01-26 15:22:31 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug