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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-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: Uncaught (in promise) #<Object> 1 CONSOLE ERROR: Uncaught (in promise) #<Object>
2 Tests that Runtime.callFunctionOn works with awaitPromise flag. 2 Tests that Runtime.callFunctionOn works with awaitPromise flag.
3 3
4 Running test: testArguments 4 Running test: testArguments
5 { 5 {
6 result : { 6 result : {
7 type : string 7 type : string
8 value : undefined|NaN|[object Object]|[object Window] 8 value : undefined|NaN|[object Object]|[object Window]
9 } 9 }
10 wasThrown : false
11 } 10 }
12 11
13 Running test: testSyntaxErrorInFunction 12 Running test: testSyntaxErrorInFunction
14 { 13 {
15 exceptionDetails : { 14 exceptionDetails : {
16 columnNumber : 2 15 columnNumber : 2
17 lineNumber : 1 16 lineNumber : 1
18 scriptId : 0 17 scriptId : 0
19 text : Uncaught SyntaxError: Unexpected token } 18 text : Uncaught SyntaxError: Unexpected token }
20 } 19 }
21 result : { 20 result : {
22 className : SyntaxError 21 className : SyntaxError
23 description : SyntaxError: Unexpected token } 22 description : SyntaxError: Unexpected token }
24 objectId : [ObjectId] 23 objectId : [ObjectId]
25 subtype : error 24 subtype : error
26 type : object 25 type : object
27 } 26 }
28 wasThrown : true
29 } 27 }
30 28
31 Running test: testExceptionInFunctionExpression 29 Running test: testExceptionInFunctionExpression
32 { 30 {
33 exceptionDetails : { 31 exceptionDetails : {
34 columnNumber : 15 32 columnNumber : 15
35 lineNumber : 0 33 lineNumber : 0
36 scriptId : 0 34 scriptId : 0
37 text : Uncaught Error 35 text : Uncaught Error
38 } 36 }
39 result : { 37 result : {
40 className : Error 38 className : Error
41 description : Error at <anonymous>:1:22 at <anonymous>:1:36 39 description : Error at <anonymous>:1:22 at <anonymous>:1:36
42 objectId : [ObjectId] 40 objectId : [ObjectId]
43 subtype : error 41 subtype : error
44 type : object 42 type : object
45 } 43 }
46 wasThrown : true
47 } 44 }
48 45
49 Running test: testFunctionReturnNotPromise 46 Running test: testFunctionReturnNotPromise
50 { 47 {
51 code : -32000 48 code : -32000
52 message : Result of the function call is not a promise 49 message : Result of the function call is not a promise
53 } 50 }
54 51
55 Running test: testFunctionReturnResolvedPromiseReturnByValue 52 Running test: testFunctionReturnResolvedPromiseReturnByValue
56 { 53 {
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ] 92 ]
96 } 93 }
97 text : Promise was rejected 94 text : Promise was rejected
98 } 95 }
99 result : { 96 result : {
100 type : object 97 type : object
101 value : { 98 value : {
102 a : 3 99 a : 3
103 } 100 }
104 } 101 }
105 wasThrown : true
106 } 102 }
107 103
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698