2017-06-01 21:33:59 +00:00
|
|
|
Tests that all sessions get console api notifications.
|
|
|
|
Error in 2
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 1
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 1
|
2017-06-01 21:33:59 +00:00
|
|
|
type : number
|
|
|
|
value : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 2
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 1
|
2017-06-01 21:33:59 +00:00
|
|
|
type : number
|
|
|
|
value : 1
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Logging in 1
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 1
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 2
|
2017-06-01 21:33:59 +00:00
|
|
|
type : number
|
|
|
|
value : 2
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 8
|
|
|
|
functionName :
|
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 2
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
2018-05-31 18:51:49 +00:00
|
|
|
description : 2
|
2017-06-01 21:33:59 +00:00
|
|
|
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
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 1
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : a
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 25
|
2019-01-07 10:45:04 +00:00
|
|
|
functionName :
|
2017-06-01 21:33:59 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 2
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : a
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 25
|
2019-01-07 10:45:04 +00:00
|
|
|
functionName :
|
2017-06-01 21:33:59 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : error
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Logging in setTimeout 2
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 1
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : b
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 25
|
2019-01-07 10:45:04 +00:00
|
|
|
functionName :
|
2017-06-01 21:33:59 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|
2017-08-10 07:18:58 +00:00
|
|
|
From session 2
|
2017-06-01 21:33:59 +00:00
|
|
|
{
|
|
|
|
method : Runtime.consoleAPICalled
|
|
|
|
params : {
|
|
|
|
args : [
|
|
|
|
[0] : {
|
|
|
|
type : string
|
|
|
|
value : b
|
|
|
|
}
|
|
|
|
]
|
|
|
|
executionContextId : <executionContextId>
|
|
|
|
stackTrace : {
|
|
|
|
callFrames : [
|
|
|
|
[0] : {
|
|
|
|
columnNumber : 25
|
2019-01-07 10:45:04 +00:00
|
|
|
functionName :
|
2017-06-01 21:33:59 +00:00
|
|
|
lineNumber : 0
|
|
|
|
scriptId : <scriptId>
|
|
|
|
url :
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
timestamp : <timestamp>
|
|
|
|
type : log
|
|
|
|
}
|
|
|
|
}
|