Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-promise-then-expected.txt

Issue 2185233002: [DevTools] Added Runtime.awaitPromise protocol method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
+}
+

Powered by Google App Engine
This is Rietveld 408576698