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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/runtime/runtime-evaluate-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) 239 1 CONSOLE ERROR: Uncaught (in promise) 239
2 Tests that Runtime.evaluate works with awaitPromise flag. 2 Tests that Runtime.evaluate works with awaitPromise flag.
3 3
4 Running test: testResolvedPromise 4 Running test: testResolvedPromise
5 { 5 {
6 result : { 6 result : {
7 description : 239 7 description : 239
8 type : number 8 type : number
9 value : 239 9 value : 239
10 } 10 }
(...skipping 15 matching lines...) Expand all
26 description : 239 26 description : 239
27 type : number 27 type : number
28 value : 239 28 value : 239
29 } 29 }
30 wasThrown : true 30 wasThrown : true
31 } 31 }
32 32
33 Running test: testPrimitiveValueInsteadOfPromise 33 Running test: testPrimitiveValueInsteadOfPromise
34 { 34 {
35 code : -32000 35 code : -32000
36 message : Result of expression is not a promise. 36 message : Result of the evaluation is not a promise
37 } 37 }
38 38
39 Running test: testObjectInsteadOfPromise 39 Running test: testObjectInsteadOfPromise
40 { 40 {
41 code : -32000 41 code : -32000
42 message : Result of expression is not a promise. 42 message : Result of the evaluation is not a promise
43 } 43 }
44 44
45 Running test: testPendingPromise 45 Running test: testPendingPromise
46 { 46 {
47 result : { 47 result : {
48 type : object 48 type : object
49 value : { 49 value : {
50 a : 239 50 a : 239
51 } 51 }
52 } 52 }
53 } 53 }
54 54
55 Running test: testExceptionInEvaluate 55 Running test: testExceptionInEvaluate
56 { 56 {
57 exceptionDetails : { 57 exceptionDetails : {
58 columnNumber : 0 58 columnNumber : 0
59 lineNumber : 0 59 lineNumber : 0
60 scriptId : 60 scriptId :
61 text : Uncaught 239 61 text : Uncaught 239
62 } 62 }
63 result : { 63 result : {
64 description : 239 64 description : 239
65 type : number 65 type : number
66 value : 239 66 value : 239
67 } 67 }
68 wasThrown : true 68 wasThrown : true
69 } 69 }
70 70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698