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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/console/console-let-const-with-api.html

Issue 2951643002: [DevTools] Prepare inspector-protocol tests to new test runner (Closed)
Patch Set: css3/fonts 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 <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/resource s/inspector-protocol-test.js"></script>
4 <script> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 InspectorTest.sendCommand("Runtime.evaluate", { expression: "let a = 42;" }, step2); 8 InspectorTest.sendCommand("Runtime.evaluate", { expression: "let a = 42;" }, step2);
9 9
10 function step2(response) 10 function step2(response)
11 { 11 {
12 failIfError(response); 12 failIfError(response);
13 InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + !!respon se.result.exceptionDetails); 13 InspectorTest.log("first \"let a = 1;\" result: wasThrown = " + !!respon se.result.exceptionDetails);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 InspectorTest.log("FAIL: " + JSON.stringify(response.error)); 54 InspectorTest.log("FAIL: " + JSON.stringify(response.error));
55 } 55 }
56 } 56 }
57 } 57 }
58 58
59 </script> 59 </script>
60 </head> 60 </head>
61 <body onload="runTest()"> 61 <body onload="runTest()">
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698