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

Unified Diff: test/inspector/runtime/await-promise-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
« no previous file with comments | « test/inspector/runtime/await-promise.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/await-promise-expected.txt
diff --git a/test/inspector/runtime/await-promise-expected.txt b/test/inspector/runtime/await-promise-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1101c5c0ec3a15594c0aa4ec1bbefcd2faed9b1
--- /dev/null
+++ b/test/inspector/runtime/await-promise-expected.txt
@@ -0,0 +1,104 @@
+Tests that Runtime.awaitPromise works.
+
+Running test: testResolvedPromise
+{
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testRejectedPromise
+{
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ objectId : 0
+ type : object
+ value : {
+ a : 1
+ }
+ }
+ exceptionId : 0
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
+ type : object
+ value : {
+ a : 1
+ }
+ }
+}
+
+Running test: testRejectedPromiseWithStack
+{
+ exceptionDetails : {
+ columnNumber : 0
+ exception : {
+ description : 239
+ objectId : 0
+ type : number
+ value : 239
+ }
+ exceptionId : 0
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ ]
+ parent : {
+ callFrames : [
+ [0] : {
+ columnNumber : 4
+ functionName : rejectPromise
+ lineNumber : 17
+ scriptId : 0
+ url : test.js
+ }
+ [1] : {
+ columnNumber : 0
+ functionName : (anonymous)
+ lineNumber : 0
+ scriptId : 0
+ url : (empty)
+ }
+ ]
+ description : Promise.reject
+ }
+ }
+ text : Uncaught (in promise)
+ }
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testPendingPromise
+{
+ result : {
+ description : 239
+ type : number
+ value : 239
+ }
+}
+
+Running test: testResolvedWithoutArgsPromise
+{
+ result : {
+ type : undefined
+ }
+}
+
+Running test: testGarbageCollectedPromise
+{
+ code : -32000
+ message : Promise was collected
+}
+
« no previous file with comments | « test/inspector/runtime/await-promise.js ('k') | test/inspector/runtime/call-function-on-async.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698