Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 print("Test that Runtime.evaluate correctly process errors during wrapping async result.") | |
| 6 | |
| 7 InspectorTest.sendCommand("Runtime.evaluate", { | |
|
dgozman
2016/09/28 23:16:26
sendCommandPromise. The less callback-based calls
kozy
2016/09/28 23:53:24
Done.
| |
| 8 expression: "Promise.resolve(Symbol(123))", | |
| 9 returnByValue: true, | |
| 10 awaitPromise: true}, dumpErrorAndCompleTest); | |
|
dgozman
2016/09/28 23:16:27
This formatting is a mess...
kozy
2016/09/28 23:53:24
Done.
| |
| 11 | |
| 12 function dumpErrorAndCompleTest(message) | |
| 13 { | |
| 14 message.id = 0; | |
| 15 InspectorTest.logObject(message); | |
|
dgozman
2016/09/28 23:16:27
Let's finally introduce logMessage?
kozy
2016/09/28 23:53:25
Done.
| |
| 16 InspectorTest.completeTest(); | |
| 17 } | |
| OLD | NEW |