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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-runScript-async.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 <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.runTestSuite([ 8 InspectorTest.runTestSuite([
9 function testRunAndCompileWithoutAgentEnable(next) 9 function testRunAndCompileWithoutAgentEnable(next)
10 { 10 {
11 InspectorTest.sendCommandPromise("Runtime.compileScript", { expressi on: "", sourceURL: "", persistScript: true }) 11 InspectorTest.sendCommandPromise("Runtime.compileScript", { expressi on: "", sourceURL: "", persistScript: true })
12 .then((result) => dumpResult(result)) 12 .then((result) => dumpResult(result))
13 .then(() => InspectorTest.sendCommandPromise("Runtime.runScript" , { scriptId: "1" })) 13 .then(() => InspectorTest.sendCommandPromise("Runtime.runScript" , { scriptId: "1" }))
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 InspectorTest.logObject(result); 133 InspectorTest.logObject(result);
134 } 134 }
135 } 135 }
136 </script> 136 </script>
137 </head> 137 </head>
138 <body onLoad="runTest();"> 138 <body onLoad="runTest();">
139 Tests that Runtime.compileScript and Runtime.runScript work with awaitPromise fl ag. 139 Tests that Runtime.compileScript and Runtime.runScript work with awaitPromise fl ag.
140 </body> 140 </body>
141 </html> 141 </html>
142 142
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698