Bug 15652

Summary: WebKit fires an unload event when an iframe element is removed from the DOM; other browsers don't.
Product: WebKit Reporter: Kevin Decker <kdecker>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, cshu, jiewen_tan, rboucher, rniwa, syoichi, tom, tony
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on: 13574    
Bug Blocks:    
Attachments:
Description Flags
test case none

Kevin Decker
Reported 2007-10-23 17:33:32 PDT
Safari fires an unload event when an iframe element is removed from the DOM; other browsers don't.
Attachments
test case (266 bytes, text/html)
2011-03-02 23:24 PST, Ojan Vafai
no flags
Ojan Vafai
Comment 1 2011-03-02 23:24:00 PST
Created attachment 84524 [details] test case It looks like Opera and IE do not fire unload, but WebKit and Gecko do. Noone appears to fire beforeunload (unless my test is borked). I'd be OK with making WebKit match IE if we dont' believe there to be a compatibility concern.
Ryosuke Niwa
Comment 2 2011-04-20 12:41:56 PDT
This bug may block the 53031 as the current work in progress patch there hits a crash on editing/style/iframe-onload-crash-mac.html
Note You need to log in before you can comment on or make changes to this bug.