Tests that multiple sessions receive log entries concurrently.
Enabling logging in session1
Triggering violation
From session1:
{
method : Log.entryAdded
params : {
entry : {
level : verbose
lineNumber : 0
source : violation
stackTrace : {
callFrames : [
[0] : {
columnNumber : 9
functionName :
lineNumber : 0
scriptId : <string>
url :
}
]
}
text : Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
timestamp : <number>
}
}
sessionId : <string>
}
Enabling logging in session2
Triggering violation
From session1:
{
method : Log.entryAdded
params : {
entry : {
level : verbose
lineNumber : 0
source : violation
stackTrace : {
callFrames : [
[0] : {
columnNumber : 9
functionName :
lineNumber : 0
scriptId : <string>
url :
}
]
}
text : Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
timestamp : <number>
}
}
sessionId : <string>
}
From session2:
{
method : Log.entryAdded
params : {
entry : {
level : verbose
lineNumber : 0
source : violation
stackTrace : {
callFrames : [
[0] : {
columnNumber : 9
functionName :
lineNumber : 0
scriptId : <string>
url :
}
]
}
text : Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
timestamp : <number>
}
}
sessionId : <string>
}
Disabling logging in session1
Triggering violation
From session2:
{
method : Log.entryAdded
params : {
entry : {
level : verbose
lineNumber : 0
source : violation
stackTrace : {
callFrames : [
[0] : {
columnNumber : 9
functionName :
lineNumber : 0
scriptId : <string>
url :
}
]
}
text : Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
timestamp : <number>
}
}
sessionId : <string>
}
Disabling logging in session2
Triggering violation