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

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

Issue 2906153002: [inspector] Support multiple sessions per context group (Closed)
Patch Set: using set per kozy@ Created 3 years, 7 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/sessions/runtime-evaluate-exception-expected.txt
diff --git a/test/inspector/sessions/runtime-evaluate-exception-expected.txt b/test/inspector/sessions/runtime-evaluate-exception-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..616456eec5444a80f9da027937ba54ed93e27e4f
--- /dev/null
+++ b/test/inspector/sessions/runtime-evaluate-exception-expected.txt
@@ -0,0 +1,277 @@
+Tests that all sessions get exception notifications.
+Throwing in 2
+Throwing in 1
+Throwing in setTimeout 1
+From session 2
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 19
+ exception : {
+ type : string
+ value : error3
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 19
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error3
+ }
+ timestamp : <timestamp>
+ }
+}
+From session 1
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 19
+ exception : {
+ type : string
+ value : error3
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 19
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error3
+ }
+ timestamp : <timestamp>
+ }
+}
+Throwing in setTimeout 2
+From session 2
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 19
+ exception : {
+ type : string
+ value : error4
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 19
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error4
+ }
+ timestamp : <timestamp>
+ }
+}
+From session 1
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 19
+ exception : {
+ type : string
+ value : error4
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 19
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error4
+ }
+ timestamp : <timestamp>
+ }
+}
+Rejecting in 2
+From session 2
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 40
+ exception : {
+ type : string
+ value : error5
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 40
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error5
+ }
+ timestamp : <timestamp>
+ }
+}
+From session 1
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 40
+ exception : {
+ type : string
+ value : error5
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 40
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error5
+ }
+ timestamp : <timestamp>
+ }
+}
+Revoking in 2
+From session 2
+{
+ method : Runtime.exceptionRevoked
+ params : {
+ exceptionId : <exceptionId>
+ reason : Handler added to rejected promise
+ }
+}
+id matching: true
+From session 1
+{
+ method : Runtime.exceptionRevoked
+ params : {
+ exceptionId : <exceptionId>
+ reason : Handler added to rejected promise
+ }
+}
+id matching: true
+Rejecting in 1
+From session 2
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 40
+ exception : {
+ type : string
+ value : error6
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 40
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error6
+ }
+ timestamp : <timestamp>
+ }
+}
+From session 1
+{
+ method : Runtime.exceptionThrown
+ params : {
+ exceptionDetails : {
+ columnNumber : 40
+ exception : {
+ type : string
+ value : error6
+ }
+ exceptionId : <exceptionId>
+ executionContextId : <executionContextId>
+ lineNumber : 0
+ stackTrace : {
+ callFrames : [
+ [0] : {
+ columnNumber : 40
+ functionName : setTimeout
+ lineNumber : 0
+ scriptId : <scriptId>
+ url :
+ }
+ ]
+ }
+ text : Uncaught error6
+ }
+ timestamp : <timestamp>
+ }
+}
+Revoking in 1
+From session 2
+{
+ method : Runtime.exceptionRevoked
+ params : {
+ exceptionId : <exceptionId>
+ reason : Handler added to rejected promise
+ }
+}
+id matching: true
+From session 1
+{
+ method : Runtime.exceptionRevoked
+ params : {
+ exceptionId : <exceptionId>
+ reason : Handler added to rejected promise
+ }
+}
+id matching: true
« no previous file with comments | « test/inspector/sessions/runtime-evaluate-exception.js ('k') | test/inspector/sessions/runtime-evaluate-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698