node/deps/v8/test/inspector/debugger/class-private-methods-nested-super-expected.txt
Michaël Zasso f226350fcb deps: update V8 to 11.3.244.4
PR-URL: https://github.com/nodejs/node/pull/47251
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
2023-03-31 14:15:23 +00:00

129 lines
3.0 KiB
Plaintext

Test getting private class methods from an instance that calls nested super()
Running test: testScopesPaused
private members after super() is called in IIFE
privateProperties from Runtime.getProperties()
undefined
[[PrivateMethods]] in internalProperties from Runtime.getProperties()
{
name : [[PrivateMethods]]
value : {
className : Array
description : PrivateMethods[1]
objectId : <objectId>
subtype : internal#privateMethodList
type : object
}
}
{
result : [
[0] : {
configurable : true
enumerable : true
isOwn : true
name : 0
value : {
className : Object
description : #b() {}
objectId : <objectId>
subtype : internal#privateMethod
type : object
}
writable : true
}
]
}
private members after super() is called in arrow function
privateProperties from Runtime.getProperties()
[
[0] : {
get : {
className : Function
description : get #c() {}
objectId : <objectId>
type : function
}
name : #c
}
]
[[PrivateMethods]] in internalProperties from Runtime.getProperties()
{
name : [[PrivateMethods]]
value : {
className : Array
description : PrivateMethods[1]
objectId : <objectId>
subtype : internal#privateMethodList
type : object
}
}
{
result : [
[0] : {
configurable : true
enumerable : true
isOwn : true
name : 0
value : {
className : Object
description : #b() {}
objectId : <objectId>
subtype : internal#privateMethod
type : object
}
writable : true
}
]
}
private members after super() is called in eval()
privateProperties from Runtime.getProperties()
[
[0] : {
get : {
className : Function
description : get #c() {}
objectId : <objectId>
type : function
}
name : #c
}
[1] : {
name : #d
set : {
className : Function
description : set #d(val) {}
objectId : <objectId>
type : function
}
}
]
[[PrivateMethods]] in internalProperties from Runtime.getProperties()
{
name : [[PrivateMethods]]
value : {
className : Array
description : PrivateMethods[1]
objectId : <objectId>
subtype : internal#privateMethodList
type : object
}
}
{
result : [
[0] : {
configurable : true
enumerable : true
isOwn : true
name : 0
value : {
className : Object
description : #b() {}
objectId : <objectId>
subtype : internal#privateMethod
type : object
}
writable : true
}
]
}