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

Side by Side Diff: LayoutTests/fast/loader/page-dismissal-modal-dialogs.html

Issue 7983013: Merge 95259 - Fragment navigations should interrupt a provisional load of a different document (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 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
« no previous file with comments | « no previous file | LayoutTests/fast/loader/resources/page-dismissal-modal-dialogs-iframe.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html><head><meta charset=utf-8><title>Page Dismissal Modal Dialogs mainFrame</t itle><script> 2 <html><head><meta charset=utf-8><title>Page Dismissal Modal Dialogs mainFrame</t itle><script>
3 function showMessages(event) { 3 function showMessages(event) {
4 alert(event + " PASS"); 4 alert(event + " PASS");
5 confirm(event + " PASS"); 5 confirm(event + " PASS");
6 prompt(event + " PASS", "PASS"); 6 prompt(event + " PASS", "PASS");
7 } 7 }
8 8
9 function handleEvent(event, otherFrame) { 9 function handleEvent(event, otherFrame) {
10 showMessages(event); 10 showMessages(event);
(...skipping 11 matching lines...) Expand all
22 addEventListener("load", function() { 22 addEventListener("load", function() {
23 registerEvents("mainFrame", window, frames[0]); 23 registerEvents("mainFrame", window, frames[0]);
24 if (window.layoutTestController) { 24 if (window.layoutTestController) {
25 layoutTestController.dumpAsText(); 25 layoutTestController.dumpAsText();
26 layoutTestController.waitUntilDone(); 26 layoutTestController.waitUntilDone();
27 } 27 }
28 location = "resources/pass-and-notify-done.html"; 28 location = "resources/pass-and-notify-done.html";
29 }, false); 29 }, false);
30 </script></head><body><div> 30 </script></head><body><div>
31 31
32 <a href=# onclick="showMessages('mainFrame click')" id=anchor>anchor</a> 32 <span onclick="showMessages('mainFrame click')" id=anchor>anchor</span>
33 <iframe src=resources/page-dismissal-modal-dialogs-iframe.html></iframe> 33 <iframe src=resources/page-dismissal-modal-dialogs-iframe.html></iframe>
34 34
35 This page registers handlers for various types of unload events and attempts to 35 This page registers handlers for various types of unload events and attempts to
36 popup modal dialogs through various JavaScript calls in each of them. Also, it 36 popup modal dialogs through various JavaScript calls in each of them. Also, it
37 does the same thing in an iframe. In addition, it tries to popup dialogs in the 37 does the same thing in an iframe. In addition, it tries to popup dialogs in the
38 context of one frame when running a handler in the other frame. 38 context of one frame when running a handler in the other frame.
39 </div></body></html> 39 </div></body></html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/loader/resources/page-dismissal-modal-dialogs-iframe.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698