| Tests that all sessions get console api notifications. | |
| Error in 2 | |
| From session 1 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| description : 1 | |
| type : number | |
| value : 1 | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 8 | |
| functionName : | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : error | |
| } | |
| } | |
| From session 2 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| description : 1 | |
| type : number | |
| value : 1 | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 8 | |
| functionName : | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : error | |
| } | |
| } | |
| Logging in 1 | |
| From session 1 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| description : 2 | |
| type : number | |
| value : 2 | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 8 | |
| functionName : | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : log | |
| } | |
| } | |
| From session 2 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| description : 2 | |
| type : number | |
| value : 2 | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 8 | |
| functionName : | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : log | |
| } | |
| } | |
| Error in setTimeout 1 | |
| From session 1 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| type : string | |
| value : a | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 25 | |
| functionName : setTimeout | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : error | |
| } | |
| } | |
| From session 2 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| type : string | |
| value : a | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 25 | |
| functionName : setTimeout | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : error | |
| } | |
| } | |
| Logging in setTimeout 2 | |
| From session 1 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| type : string | |
| value : b | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 25 | |
| functionName : setTimeout | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : log | |
| } | |
| } | |
| From session 2 | |
| { | |
| method : Runtime.consoleAPICalled | |
| params : { | |
| args : [ | |
| [0] : { | |
| type : string | |
| value : b | |
| } | |
| ] | |
| executionContextId : <executionContextId> | |
| stackTrace : { | |
| callFrames : [ | |
| [0] : { | |
| columnNumber : 25 | |
| functionName : setTimeout | |
| lineNumber : 0 | |
| scriptId : <scriptId> | |
| url : | |
| } | |
| ] | |
| } | |
| timestamp : <timestamp> | |
| type : log | |
| } | |
| } |