UNCONFIRMED56221
onbeforeunload is broken for framesets if you use document.write
https://bugs.webkit.org/show_bug.cgi?id=56221
Summary onbeforeunload is broken for framesets if you use document.write
Holger Hees
Reported 2011-03-11 13:47:45 PST
Created attachment 85524 [details] change framecontent with document.write see: https://bugs.webkit.org/show_bug.cgi?id=19418 all works fine if i change the frame content by modifying the frame src. but when i change the frame content with document.open(..., 'replace'), document.write(...), document.close the beforeunload handler is not fired. tested in chrome 10. and chrome 10 works with all other testcases.
Attachments
change framecontent with document.write (1.75 KB, application/zip)
2011-03-11 13:47 PST, Holger Hees
no flags
Feross Aboukhadijeh
Comment 1 2013-05-31 19:55:40 PDT
Confirmed. Please fix.
Note You need to log in before you can comment on or make changes to this bug.