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

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

Issue 2185233002: [DevTools] Added Runtime.awaitPromise protocol method (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: alligned output 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-await-promise-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-await-promise-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-await-promise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..b35547d3e55b9c75e77f814698e96fba8f1989ff
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-await-promise-expected.txt
@@ -0,0 +1,96 @@
+CONSOLE ERROR: line 1: Uncaught (in promise) #<Object>
+CONSOLE ERROR: Uncaught (in promise) #<Object>
+CONSOLE ERROR: Uncaught (in promise) 239
+Tests that Runtime.awaitPromise works.
+
+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 : {
+ type : object
+ value : {
+ a : 1
+ }
+ }
+ wasThrown : true
+}
+
+Running test: testRejectedPromiseWithStack
+{
+ exceptionDetails : {
+ columnNumber : 0
+ lineNumber : 0
+ scriptId :
+ stackTrace : {
+ callFrames : [
+ ]
+ parent : {
+ callFrames : [
+ [0] : {
+ columnNumber : 4
+ functionName : rejectPromise
+ lineNumber : 21
+ scriptId : 0
+ url :
+ }
+ [1] : {
+ columnNumber : 0
+ functionName :
+ lineNumber : 0
+ scriptId : 0
+ url :
+ }
+ ]
+ description : Promise.reject
+ }
+ }
+ text : Promise was rejected
+ }
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+ wasThrown : true
+}
+
+Running test: testPendingPromise
+{
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testResolvedWithoutArgsPromise
+{
+ result : {
+ type : undefined
+ }
+}
+
+Running test: testGarbageCollectedPromise
+{
+ code : -32000
+ message : Promise was collected
+}
+

Powered by Google App Engine
This is Rietveld 408576698