Bug 56221 - onbeforeunload is broken for framesets if you use document.write
: onbeforeunload is broken for framesets if you use document.write
Status: UNCONFIRMED
: WebKit
HTML DOM
: 528+ (Nightly build)
: PC Linux
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2011-03-11 13:47 PST by
Modified: 2013-05-31 19:55 PST (History)


Attachments
change framecontent with document.write (1.75 KB, application/zip)
2011-03-11 13:47 PST, Holger Hees
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-03-11 13:47:45 PST
Created an attachment (id=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.
------- Comment #1 From 2013-05-31 19:55:40 PST -------
Confirmed. Please fix.