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/call-function-on-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/call-function-on-async-expected.txt
diff --git a/test/inspector/runtime/call-function-on-async-expected.txt b/test/inspector/runtime/call-function-on-async-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..cb173f3e4385f3df9b538a2a84c81af5ff27a253
--- /dev/null
+++ b/test/inspector/runtime/call-function-on-async-expected.txt
@@ -0,0 +1,125 @@
+Tests that Runtime.callFunctionOn works with awaitPromise flag.
+
+Running test: testArguments
+{
+ result : {
+ type : string
+ value : undefined|NaN|[object Object]|[object Object]
+ }
+}
+
+Running test: testSyntaxErrorInFunction
+{
+ exceptionDetails : {
+ columnNumber : 2
+ exception : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token }
+ objectId : 0
+ subtype : error
+ type : object
+ }
+ exceptionId : 0
+ lineNumber : 1
+ scriptId : 0
+ text : Uncaught
+ }
+ result : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token }
+ objectId : [ObjectId]
+ subtype : error
+ type : object
+ }
+}
+
+Running test: testExceptionInFunctionExpression
+{
+ exceptionDetails : {
+ columnNumber : 15
+ exception : {
+ className : Error
+ description : Error at <anonymous>:1:22 at <anonymous>:1:36
+ objectId : 0
+ subtype : error
+ type : object
+ }
+ exceptionId : 0
+ lineNumber : 0
+ scriptId : 0
+ text : Uncaught
+ }
+ result : {
+ className : Error
+ description : Error at <anonymous>:1:22 at <anonymous>:1:36
+ objectId : [ObjectId]
+ subtype : error
+ type : object
+ }
+}
+
+Running test: testFunctionReturnNotPromise
+{
+ code : -32000
+ message : Result of the function call is not a promise
+}
+
+Running test: testFunctionReturnResolvedPromiseReturnByValue
+{
+ result : {
+ type : object
+ value : {
+ a : 3
+ }
+ }
+}
+
+Running test: testFunctionReturnResolvedPromiseWithPreview
+{
+ result : {
+ className : Object
+ description : Object
+ objectId : [ObjectId]
+ preview : {
+ description : Object
+ overflow : false
+ properties : [
+ [0] : {
+ name : a
+ type : number
+ value : 3
+ }
+ ]
+ type : object
+ }
+ type : object
+ }
+}
+
+Running test: testFunctionReturnRejectedPromise
+{
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ objectId : 0
+ type : object
+ value : {
+ a : 3
+ }
+ }
+ exceptionId : 0
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
+ type : object
+ value : {
+ a : 3
+ }
+ }
+}
+
« no previous file with comments | « test/inspector/runtime/call-function-on-async.js ('k') | test/inspector/runtime/clear-of-command-line-api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698