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

Unified Diff: test/inspector/runtime/exception-thrown-expected.txt

Issue 2384373002: [inspector] introduced exceptionThrown support in test runner (Closed)
Patch Set: addressed comments Created 4 years, 2 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/exception-thrown.js ('k') | test/inspector/task-runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/exception-thrown-expected.txt
diff --git a/test/inspector/runtime/exception-thrown-expected.txt b/test/inspector/runtime/exception-thrown-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..228c348298ef7c66b5d7210bfc06c399c34d18be
--- /dev/null
+++ b/test/inspector/runtime/exception-thrown-expected.txt
@@ -0,0 +1,117 @@
+Check that exceptionThrown is supported by test runner.
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 2
+ exception : {
+ className : Error
+ description : Error at setTimeout (<anonymous>:2:9)
+ objectId : <objectId>
+ preview : {
+ description : Error at setTimeout (<anonymous>:2:9)
+ overflow : false
+ properties : [
+ [0] : {
+ name : stack
+ type : string
+ value : Error at setTimeout (<anonymous>:2:9)
+ }
+ ]
+ subtype : error
+ type : object
+ }
+ subtype : error
+ type : object
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 1
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 8
+ functionName : setTimeout
+ lineNumber : 1
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught Error
+ }
+ timestamp : <timestamp>
+ }
+}
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 1
+ exception : {
+ className : SyntaxError
+ description : SyntaxError: Unexpected token }
+ objectId : <objectId>
+ preview : {
+ description : SyntaxError: Unexpected token }
+ overflow : false
+ properties : [
+ [0] : {
+ name : stack
+ type : string
+ value : SyntaxError: Unexpected token }
+ }
+ [1] : {
+ name : message
+ type : string
+ value : Unexpected token }
+ }
+ ]
+ subtype : error
+ type : object
+ }
+ subtype : error
+ type : object
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ scriptId : <scriptId>
+ stackTrace : {
+ callFrames : [
+ ]
+ }
+ text : Uncaught SyntaxError: Unexpected token }
+ }
+ timestamp : <timestamp>
+ }
+}
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 2
+ exception : {
+ description : 239
+ type : number
+ value : 239
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 1
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 2
+ functionName : setTimeout
+ lineNumber : 1
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught 239
+ }
+ timestamp : <timestamp>
+ }
+}
« no previous file with comments | « test/inspector/runtime/exception-thrown.js ('k') | test/inspector/task-runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698