[Webkit-unassigned] [Bug 56221] New: onbeforeunload is broken for framesets if you use document.write

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 11 13:47:45 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=56221

           Summary: onbeforeunload is broken for framesets if you use
                    document.write
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: holger.hees at maxvis.de


Created an attachment (id=85524)
 --> (https://bugs.webkit.org/attachment.cgi?id=85524&action=review)
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.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list