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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-console-log-handle-navigate.html

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script> 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource s/inspector-protocol-test.js"></script>
5 <script> 5 <script>
6 function appendIframe() 6 function appendIframe()
7 { 7 {
8 var frame = document.createElement("iframe"); 8 var frame = document.createElement("iframe");
9 frame.src = "resources/console-log-navigate.html"; 9 frame.src = "resources/console-log-navigate.html";
10 document.body.appendChild(frame); 10 document.body.appendChild(frame);
11 return new Promise((resolve) => frame.onload = resolve); 11 return new Promise((resolve) => frame.onload = resolve);
12 } 12 }
13 13
14 function createIframeAndRunTest() 14 function createIframeAndRunTest()
(...skipping 28 matching lines...) Expand all
43 result.id = 0; 43 result.id = 0;
44 InspectorTest.logObject(result); 44 InspectorTest.logObject(result);
45 } 45 }
46 } 46 }
47 </script> 47 </script>
48 </head> 48 </head>
49 <body onload="createIframeAndRunTest()"> 49 <body onload="createIframeAndRunTest()">
50 This tests how navigation is handled from inside debugger code (console.log). 50 This tests how navigation is handled from inside debugger code (console.log).
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698