OLD | NEW |
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 Loading... |
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 |
OLD | NEW |