2017-09-12 11:34:59 +02:00
|
|
|
Tests that creating multiple sessions works.
|
|
|
|
Connecting session 1
|
|
|
|
From session 1
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 1
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Connecting session 2
|
|
|
|
From session 2
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 1
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Reconnecting session 2
|
|
|
|
From session 2
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 1
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Reconnecting session 1
|
|
|
|
From session 1
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 1
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Connecting session 3
|
|
|
|
From session 3
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 1
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Destroying and creating context
|
2017-10-18 15:03:02 -07:00
|
|
|
From session 2
|
2017-09-12 11:34:59 +02:00
|
|
|
{
|
|
|
|
method : Runtime.executionContextDestroyed
|
|
|
|
params : {
|
|
|
|
executionContextId : <executionContextId>
|
2023-03-30 12:11:08 +02:00
|
|
|
executionContextUniqueId : <executionContextUniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
id matching: true
|
|
|
|
From session 1
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextDestroyed
|
|
|
|
params : {
|
|
|
|
executionContextId : <executionContextId>
|
2023-03-30 12:11:08 +02:00
|
|
|
executionContextUniqueId : <executionContextUniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
id matching: true
|
2017-10-18 15:03:02 -07:00
|
|
|
From session 3
|
2017-09-12 11:34:59 +02:00
|
|
|
{
|
|
|
|
method : Runtime.executionContextDestroyed
|
|
|
|
params : {
|
|
|
|
executionContextId : <executionContextId>
|
2023-03-30 12:11:08 +02:00
|
|
|
executionContextUniqueId : <executionContextUniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
id matching: true
|
2017-10-18 15:03:02 -07:00
|
|
|
From session 2
|
2017-09-12 11:34:59 +02:00
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 2
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
From session 1
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 2
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-10-18 15:03:02 -07:00
|
|
|
From session 3
|
2017-09-12 11:34:59 +02:00
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 2
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Disconnecting all sessions
|
|
|
|
Connecting session 4
|
|
|
|
From session 4
|
|
|
|
{
|
|
|
|
method : Runtime.executionContextCreated
|
|
|
|
params : {
|
|
|
|
context : {
|
|
|
|
id : 2
|
|
|
|
name :
|
|
|
|
origin :
|
2021-02-24 14:47:06 +01:00
|
|
|
uniqueId : <uniqueId>
|
2017-09-12 11:34:59 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|