Index: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-promise-then-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-promise-then-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-promise-then-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3285fb3b4cee40e44737641836c5bada283103f3 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-promise-then-expected.txt |
@@ -0,0 +1,45 @@ |
+CONSOLE ERROR: line 1: Uncaught (in promise) #<Object> |
+CONSOLE ERROR: Uncaught (in promise) #<Object> |
+Tests that Runtime.promiseThen works. |
+ |
+Running test: testResolvedPromise |
+{ |
+ resolvedValue : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+} |
+ |
+Running test: testRejectedPromise |
+{ |
+ rejectedValue : { |
+ type : object |
+ value : { |
+ a : 1 |
+ } |
+ } |
+} |
+ |
+Running test: testPengingPromise |
+{ |
+ resolvedValue : { |
+ description : 239 |
+ type : number |
+ value : 239 |
+ } |
+} |
+ |
+Running test: testResolvedWithoutArgsPromise |
+{ |
+ resolvedValue : { |
+ type : undefined |
+ } |
+} |
+ |
+Running test: testGarbageCollectedPromise |
+{ |
+ code : -32000 |
+ message : Promise was collected |
+} |
+ |