2017-05-19 00:35:45 +00:00
|
|
|
Tests that suspended generators produce scopes
|
|
|
|
|
2016-11-24 07:32:25 +00:00
|
|
|
Running test: testScopesPaused
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
2017-05-24 13:54:57 +00:00
|
|
|
name : b
|
2016-11-24 07:32:25 +00:00
|
|
|
value : {
|
2017-05-24 13:54:57 +00:00
|
|
|
description : 42
|
2016-11-24 07:32:25 +00:00
|
|
|
type : number
|
2017-05-24 13:54:57 +00:00
|
|
|
value : 42
|
2016-11-24 07:32:25 +00:00
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
2017-05-24 13:54:57 +00:00
|
|
|
name : a
|
2016-11-24 07:32:25 +00:00
|
|
|
value : {
|
2017-05-24 13:54:57 +00:00
|
|
|
description : 420
|
2016-11-24 07:32:25 +00:00
|
|
|
type : number
|
2017-05-24 13:54:57 +00:00
|
|
|
value : 420
|
2016-11-24 07:32:25 +00:00
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Running test: testScopesNonPaused
|
|
|
|
{
|
|
|
|
id : <messageId>
|
|
|
|
result : {
|
|
|
|
result : [
|
|
|
|
[0] : {
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
2017-05-24 13:54:57 +00:00
|
|
|
name : b
|
2016-11-24 07:32:25 +00:00
|
|
|
value : {
|
2017-05-24 13:54:57 +00:00
|
|
|
type : undefined
|
2016-11-24 07:32:25 +00:00
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
[1] : {
|
|
|
|
configurable : true
|
|
|
|
enumerable : true
|
|
|
|
isOwn : true
|
2017-05-24 13:54:57 +00:00
|
|
|
name : a
|
2016-11-24 07:32:25 +00:00
|
|
|
value : {
|
2017-05-24 13:54:57 +00:00
|
|
|
description : 430
|
|
|
|
type : number
|
|
|
|
value : 430
|
2016-11-24 07:32:25 +00:00
|
|
|
}
|
|
|
|
writable : true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|