mirror of
https://github.com/nodejs/node.git
synced 2025-05-15 11:36:57 +00:00

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>
41 lines
1.0 KiB
Plaintext
41 lines
1.0 KiB
Plaintext
Test static private class methods
|
|
|
|
Running test: testScopesPaused
|
|
private members on class A
|
|
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 : #method() { debugger; }
|
|
objectId : <objectId>
|
|
subtype : internal#privateMethod
|
|
type : object
|
|
}
|
|
writable : true
|
|
}
|
|
]
|
|
}
|
|
private members on class B
|
|
privateProperties from Runtime.getProperties()
|
|
undefined
|
|
[[PrivateMethods]] in internalProperties from Runtime.getProperties()
|
|
undefined
|