Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: LayoutTests/fast/loader/recursive-before-unload-crash-expected.txt

Issue 26770004: Add console message levels to test expectation output. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tests. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 CONSOLE MESSAGE: Blocked alert('onbeforeunload called, and iframe hasn't been ad ded yet.') during beforeunload. 1 CONSOLE ERROR: Blocked alert('onbeforeunload called, and iframe hasn't been adde d yet.') during beforeunload.
2 ALERT: Adding iframe 2 ALERT: Adding iframe
3 This test demonstrates a problem with our handling of the beforeunload event. 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. 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. 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. 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. 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 8 Click here to run the beforeunload test and blow out the stack
9 Click here to append an iframe and crash 9 Click here to append an iframe and crash
10 10
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698