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

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

Issue 2234983002: [DevTools] Removed wasThrown from evaluate-like protocol methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: a 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
1 CONSOLE ERROR: line 1: Uncaught (in promise) #<Object> 1 CONSOLE ERROR: line 1: Uncaught (in promise) #<Object>
2 CONSOLE ERROR: Uncaught (in promise) #<Object> 2 CONSOLE ERROR: Uncaught (in promise) #<Object>
3 CONSOLE ERROR: Uncaught (in promise) 239 3 CONSOLE ERROR: Uncaught (in promise) 239
4 Tests that Runtime.awaitPromise works. 4 Tests that Runtime.awaitPromise works.
5 5
6 Running test: testResolvedPromise 6 Running test: testResolvedPromise
7 { 7 {
8 result : { 8 result : {
9 description : 239 9 description : 239
10 type : number 10 type : number
(...skipping 12 matching lines...) Expand all
23 ] 23 ]
24 } 24 }
25 text : Promise was rejected 25 text : Promise was rejected
26 } 26 }
27 result : { 27 result : {
28 type : object 28 type : object
29 value : { 29 value : {
30 a : 1 30 a : 1
31 } 31 }
32 } 32 }
33 wasThrown : true
34 } 33 }
35 34
36 Running test: testRejectedPromiseWithStack 35 Running test: testRejectedPromiseWithStack
37 { 36 {
38 exceptionDetails : { 37 exceptionDetails : {
39 columnNumber : 0 38 columnNumber : 0
40 lineNumber : 0 39 lineNumber : 0
41 scriptId : 40 scriptId :
42 stackTrace : { 41 stackTrace : {
43 callFrames : [ 42 callFrames : [
(...skipping 18 matching lines...) Expand all
62 description : Promise.reject 61 description : Promise.reject
63 } 62 }
64 } 63 }
65 text : Promise was rejected 64 text : Promise was rejected
66 } 65 }
67 result : { 66 result : {
68 description : 239 67 description : 239
69 type : number 68 type : number
70 value : 239 69 value : 239
71 } 70 }
72 wasThrown : true
73 } 71 }
74 72
75 Running test: testPendingPromise 73 Running test: testPendingPromise
76 { 74 {
77 result : { 75 result : {
78 description : 239 76 description : 239
79 type : number 77 type : number
80 value : 239 78 value : 239
81 } 79 }
82 } 80 }
83 81
84 Running test: testResolvedWithoutArgsPromise 82 Running test: testResolvedWithoutArgsPromise
85 { 83 {
86 result : { 84 result : {
87 type : undefined 85 type : undefined
88 } 86 }
89 } 87 }
90 88
91 Running test: testGarbageCollectedPromise 89 Running test: testGarbageCollectedPromise
92 { 90 {
93 code : -32000 91 code : -32000
94 message : Promise was collected 92 message : Promise was collected
95 } 93 }
96 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698