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

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

Issue 2196003002: [DevTools] Add awaitPromise flag to Runtime.evaluate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@add-promise-then
Patch Set: addressed comments 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: Uncaught (in promise) 239
2 Tests that Runtime.evaluate works with awaitPromise flag.
3
4 Running test: testResolvedPromise
5 {
6 result : {
7 description : 239
8 type : number
9 value : 239
10 }
11 }
12
13 Running test: testRejectedPromise
14 {
15 exceptionDetails : {
16 columnNumber : 0
17 lineNumber : 0
18 scriptId :
19 stackTrace : {
20 callFrames : [
21 ]
22 }
23 text : Promise was rejected
24 }
25 result : {
26 description : 239
27 type : number
28 value : 239
29 }
30 wasThrown : true
31 }
32
33 Running test: testPrimitiveValueInsteadOfPromise
34 {
35 code : -32000
36 message : Result of expression is not a promise.
37 }
38
39 Running test: testObjectInsteadOfPromise
40 {
41 code : -32000
42 message : Result of expression is not a promise.
43 }
44
45 Running test: testPendingPromise
46 {
47 result : {
48 type : object
49 value : {
50 a : 239
51 }
52 }
53 }
54
55 Running test: testExceptionInEvaluate
56 {
57 exceptionDetails : {
58 columnNumber : 0
59 lineNumber : 0
60 scriptId :
61 text : Uncaught 239
62 }
63 result : {
64 description : 239
65 type : number
66 value : 239
67 }
68 wasThrown : true
69 }
70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698