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

Side by Side 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, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 CONSOLE ERROR: line 1: Uncaught (in promise) #<Object>
2 CONSOLE ERROR: Uncaught (in promise) #<Object>
3 CONSOLE ERROR: Uncaught (in promise) 239
4 Tests that Runtime.awaitPromise works.
5
6 Running test: testResolvedPromise
7 {
8 result : {
9 description : 239
10 type : number
11 value : 239
12 }
13 }
14
15 Running test: testRejectedPromise
16 {
17 exceptionDetails : {
18 columnNumber : 0
19 lineNumber : 0
20 scriptId :
21 stackTrace : {
22 callFrames : [
23 ]
24 }
25 text : Promise was rejected
26 }
27 result : {
28 type : object
29 value : {
30 a : 1
31 }
32 }
33 wasThrown : true
34 }
35
36 Running test: testRejectedPromiseWithStack
37 {
38 exceptionDetails : {
39 columnNumber : 0
40 lineNumber : 0
41 scriptId :
42 stackTrace : {
43 callFrames : [
44 ]
45 parent : {
46 callFrames : [
47 [0] : {
48 columnNumber : 4
49 functionName : rejectPromise
50 lineNumber : 21
51 scriptId : 0
52 url :
53 }
54 [1] : {
55 columnNumber : 0
56 functionName :
57 lineNumber : 0
58 scriptId : 0
59 url :
60 }
61 ]
62 description : Promise.reject
63 }
64 }
65 text : Promise was rejected
66 }
67 result : {
68 description : 239
69 type : number
70 value : 239
71 }
72 wasThrown : true
73 }
74
75 Running test: testPendingPromise
76 {
77 result : {
78 description : 239
79 type : number
80 value : 239
81 }
82 }
83
84 Running test: testResolvedWithoutArgsPromise
85 {
86 result : {
87 type : undefined
88 }
89 }
90
91 Running test: testGarbageCollectedPromise
92 {
93 code : -32000
94 message : Promise was collected
95 }
96
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698