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

Unified Diff: test/inspector/runtime/evaluate-async-expected.txt

Issue 2369753004: [inspector] added inspector test runner [part 5] (Closed)
Patch Set: addressed comments Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: test/inspector/runtime/evaluate-async-expected.txt
diff --git a/test/inspector/runtime/evaluate-async-expected.txt b/test/inspector/runtime/evaluate-async-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..da2afa6e67b3dfc8b3f62f25f88981a70e426505
--- /dev/null
+++ b/test/inspector/runtime/evaluate-async-expected.txt
@@ -0,0 +1,81 @@
+Tests that Runtime.evaluate works with awaitPromise flag.
+
+Running test: testResolvedPromise
+{
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testRejectedPromise
+{
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ description : 239
+ objectId : 0
+ type : number
+ value : 239
+ }
+ exceptionId : 0
+ lineNumber : 0
+ scriptId : (scriptId)
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testPrimitiveValueInsteadOfPromise
+{
+ code : -32000
+ message : Result of the evaluation is not a promise
+}
+
+Running test: testObjectInsteadOfPromise
+{
+ code : -32000
+ message : Result of the evaluation is not a promise
+}
+
+Running test: testPendingPromise
+{
+ result : {
+ type : object
+ value : {
+ a : 239
+ }
+ }
+}
+
+Running test: testExceptionInEvaluate
+{
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ description : 239
+ objectId : 0
+ type : number
+ value : 239
+ }
+ exceptionId : 0
+ lineNumber : 0
+ scriptId : (scriptId)
+ text : Uncaught
+ }
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
« no previous file with comments | « test/inspector/runtime/evaluate-async.js ('k') | test/inspector/runtime/evaluate-with-context-id-equal-zero.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698