Bug 15652 - WebKit fires an unload event when an iframe element is removed from the DOM; other browsers don't.
Summary: WebKit fires an unload event when an iframe element is removed from the DOM; ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 523.x (Safari 3)
Hardware: Macintosh OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on: 13574
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-23 17:33 PDT by Kevin Decker
Modified: 2016-04-11 02:08 PDT (History)
8 users (show)

See Also:


Attachments
test case (266 bytes, text/html)
2011-03-02 23:24 PST, Ojan Vafai
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Decker 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.
Comment 1 Ojan Vafai 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.
Comment 2 Ryosuke Niwa 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