OLD | NEW |
| (Empty) |
1 ALERT: onbeforeunload called, and iframe hasn't been added yet. | |
2 ALERT: Adding iframe | |
3 This test demonstrates a problem with our handling of the beforeunload event. | |
4 If a script manages to try and navigate the frame from beforeunload - when a nav
igation is already pending - we end up blowing out the stack by recursively cons
ulting the policy delegate then running onbeforeunload repeatedly. | |
5 After this happens, the FrameLoader is in a bogus state where it thinks it is in
the middle of a provisional load, but it doesn't have a provisional document lo
ader. | |
6 In this state, the frame is very difficult to navigate anywhere else, and attemp
ts to load new things within the frame can result in a crash. | |
7 This was reproducibly identified on sears.com following a bizarre Safari specifi
c code path. | |
8 Click here to run the beforeunload test and blow out the stack | |
9 Click here to append an iframe and crash | |
10 | |
OLD | NEW |