Summary: | window.onunload not fired when the last browser window is being closed | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | ptr <petr.zdrahal> | ||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Major | CC: | aroben, vicki | ||||
Priority: | P2 | Keywords: | InRadar, PlatformOnly | ||||
Version: | 525.x (Safari 3.1) | ||||||
Hardware: | PC | ||||||
OS: | Windows Vista | ||||||
Attachments: |
|
Description
ptr
2008-04-07 06:35:13 PDT
Created attachment 20380 [details]
Testcase for window.onunload bug
Refresh, reload or close browser window and observe whether the browser is performing onunload actions or not. You should see a new new window and alert displayed.
As the testcase opens new window, make sure you disabled popup blocker before you start testing. (or comment out the "window.open" line completly, stay only with window.alert). Seems to be fixed in TOT. Please let us know if it still doesn't work for you. |