Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d59b5ac2102ec5b9c58c4ba0f80609f143ce7cf9 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-async-expected.txt |
@@ -0,0 +1,70 @@ |
+CONSOLE ERROR: Uncaught (in promise) 239 |
+Tests that Runtime.evaluate works with awaitPromise flag. |
+ |
+Running test: testResolvedPromise |
+{ |
+ result : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+} |
+ |
+Running test: testRejectedPromise |
+{ |
+ exceptionDetails : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : |
+ stackTrace : { |
+ callFrames : [ |
+ ] |
+ } |
+ text : Promise was rejected |
+ } |
+ result : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+ wasThrown : true |
+} |
+ |
+Running test: testPrimitiveValueInsteadOfPromise |
+{ |
+ code : -32000 |
+ message : Result of expression is not a promise. |
+} |
+ |
+Running test: testObjectInsteadOfPromise |
+{ |
+ code : -32000 |
+ message : Result of expression is not a promise. |
+} |
+ |
+Running test: testPendingPromise |
+{ |
+ result : { |
+ type : object |
+ value : { |
+ a : 239 |
+ } |
+ } |
+} |
+ |
+Running test: testExceptionInEvaluate |
+{ |
+ exceptionDetails : { |
+ columnNumber : 0 |
+ lineNumber : 0 |
+ scriptId : |
+ text : Uncaught 239 |
+ } |
+ result : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+ wasThrown : true |
+} |
+ |