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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-callFunctionOn-async-expected.txt

Issue 2203073004: [DevTools] Add awaitPromise flag to Runtime.runScript (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@make-call-function-on-async
Patch Set: fixed executionContextId=0 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 10 wasThrown : false
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 objectId : [ObjectId] 42 objectId : [ObjectId]
43 subtype : error 43 subtype : error
44 type : object 44 type : object
45 } 45 }
46 wasThrown : true 46 wasThrown : true
47 } 47 }
48 48
49 Running test: testFunctionReturnNotPromise 49 Running test: testFunctionReturnNotPromise
50 { 50 {
51 code : -32000 51 code : -32000
52 message : Result of the function call is not a promise. 52 message : Result of the function call is not a promise
53 } 53 }
54 54
55 Running test: testFunctionReturnResolvedPromiseReturnByValue 55 Running test: testFunctionReturnResolvedPromiseReturnByValue
56 { 56 {
57 result : { 57 result : {
58 type : object 58 type : object
59 value : { 59 value : {
60 a : 3 60 a : 3
61 } 61 }
62 } 62 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 } 98 }
99 result : { 99 result : {
100 type : object 100 type : object
101 value : { 101 value : {
102 a : 3 102 a : 3
103 } 103 }
104 } 104 }
105 wasThrown : true 105 wasThrown : true
106 } 106 }
107 107
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698