| 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/inspecto
r-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 testArguments(next) | 9 function testArguments(next) |
| 10 { | 10 { |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 } | 128 } |
| 129 } | 129 } |
| 130 } | 130 } |
| 131 | 131 |
| 132 function dumpResult(result) | 132 function dumpResult(result) |
| 133 { | 133 { |
| 134 if (result.exceptionDetails && result.exceptionDetails.scriptId) | 134 if (result.exceptionDetails && result.exceptionDetails.scriptId) |
| 135 result.exceptionDetails.scriptId = 0; | 135 result.exceptionDetails.scriptId = 0; |
| 136 if (result.result && result.result.objectId) | 136 if (result.result && result.result.objectId) |
| 137 result.result.objectId = "[ObjectId]"; | 137 result.result.objectId = "[ObjectId]"; |
| 138 if (result.exceptionDetails) { |
| 139 result.exceptionDetails.exceptionId = 0; |
| 140 result.exceptionDetails.exception.objectId = 0; |
| 141 } |
| 138 InspectorTest.logObject(result); | 142 InspectorTest.logObject(result); |
| 139 } | 143 } |
| 140 } | 144 } |
| 141 </script> | 145 </script> |
| 142 </head> | 146 </head> |
| 143 <body onLoad="runTest();"> | 147 <body onLoad="runTest();"> |
| 144 Tests that Runtime.callFunctionOn works with awaitPromise flag. | 148 Tests that Runtime.callFunctionOn works with awaitPromise flag. |
| 145 </body> | 149 </body> |
| 146 </html> | 150 </html> |
| 147 | 151 |
| OLD | NEW |