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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/page/javascriptDialogEvents.html

Issue 1920873002: Enable error pages for layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TEST. Created 4 years, 7 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
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 testRunner.setShouldStayOnPageAfterHandlingBeforeUnload(true);
7
6 window.onbeforeunload = onBeforeUnload; 8 window.onbeforeunload = onBeforeUnload;
7 9
8 function onBeforeUnload() 10 function onBeforeUnload()
9 { 11 {
10 window.removeEventListener("beforeunload", onBeforeUnload); 12 window.removeEventListener("beforeunload", onBeforeUnload);
11 return "beforeunload in javascriptDialogEvents"; 13 return "beforeunload in javascriptDialogEvents";
12 } 14 }
13 15
14 function test() 16 function test()
15 { 17 {
(...skipping 28 matching lines...) Expand all
44 { 46 {
45 InspectorTest.completeTest(); 47 InspectorTest.completeTest();
46 } 48 }
47 } 49 }
48 50
49 </script> 51 </script>
50 </head> 52 </head>
51 <body onload="runTest()"> 53 <body onload="runTest()">
52 </body> 54 </body>
53 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698