b5e81c7ccf
This gives sessions separate remote objects space and also makes command line api respect the session it was called from. BUG=chromium:590878 Review-Url: https://codereview.chromium.org/2916803005 Cr-Commit-Position: refs/heads/master@{#45708}
104 lines
2.6 KiB
Plaintext
104 lines
2.6 KiB
Plaintext
Tests that multiple sessions do not interfere with each other's remote objects.
|
|
Evaluating in 1
|
|
Evaluating in 2
|
|
Retrieving properties in 2
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : [
|
|
[0] : {
|
|
configurable : true
|
|
enumerable : true
|
|
isOwn : true
|
|
name : a
|
|
value : {
|
|
description : 17
|
|
type : number
|
|
value : 17
|
|
}
|
|
writable : true
|
|
}
|
|
[1] : {
|
|
configurable : true
|
|
enumerable : false
|
|
isOwn : true
|
|
name : __proto__
|
|
value : {
|
|
className : Object
|
|
description : Object
|
|
objectId : <objectId>
|
|
type : object
|
|
}
|
|
writable : true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
Retrieving properties in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : [
|
|
[0] : {
|
|
configurable : true
|
|
enumerable : true
|
|
isOwn : true
|
|
name : a
|
|
value : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
writable : true
|
|
}
|
|
[1] : {
|
|
configurable : true
|
|
enumerable : false
|
|
isOwn : true
|
|
name : __proto__
|
|
value : {
|
|
className : Object
|
|
description : Object
|
|
objectId : <objectId>
|
|
type : object
|
|
}
|
|
writable : true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
Disconnecting 2
|
|
Retrieving properties in 1
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
result : [
|
|
[0] : {
|
|
configurable : true
|
|
enumerable : true
|
|
isOwn : true
|
|
name : a
|
|
value : {
|
|
description : 42
|
|
type : number
|
|
value : 42
|
|
}
|
|
writable : true
|
|
}
|
|
[1] : {
|
|
configurable : true
|
|
enumerable : false
|
|
isOwn : true
|
|
name : __proto__
|
|
value : {
|
|
className : Object
|
|
description : Object
|
|
objectId : <objectId>
|
|
type : object
|
|
}
|
|
writable : true
|
|
}
|
|
]
|
|
}
|
|
}
|