summaryrefslogtreecommitdiff
path: root/deps/v8/test/inspector/debugger/class-private-methods-expected.txt
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/inspector/debugger/class-private-methods-expected.txt')
-rw-r--r--deps/v8/test/inspector/debugger/class-private-methods-expected.txt138
1 files changed, 95 insertions, 43 deletions
diff --git a/deps/v8/test/inspector/debugger/class-private-methods-expected.txt b/deps/v8/test/inspector/debugger/class-private-methods-expected.txt
index 21da2d844c..91e9daba4f 100644
--- a/deps/v8/test/inspector/debugger/class-private-methods-expected.txt
+++ b/deps/v8/test/inspector/debugger/class-private-methods-expected.txt
@@ -1,18 +1,9 @@
Test private class methods
Running test: testScopesPaused
-private properties on the base class instance
+privateProperties from Runtime.getProperties()
[
[0] : {
- name : #inc
- value : {
- className : Function
- description : #inc() { this.#field++; return this.#field; }
- objectId : <objectId>
- type : function
- }
- }
- [1] : {
name : #writeOnly
set : {
className : Function
@@ -21,7 +12,7 @@ private properties on the base class instance
type : function
}
}
- [2] : {
+ [1] : {
get : {
className : Function
description : get #readOnly() { return this.#field; }
@@ -30,7 +21,7 @@ private properties on the base class instance
}
name : #readOnly
}
- [3] : {
+ [2] : {
get : {
className : Function
description : get #accessor() { return this.#field; }
@@ -45,7 +36,7 @@ private properties on the base class instance
type : function
}
}
- [4] : {
+ [3] : {
name : #field
value : {
description : 2
@@ -54,7 +45,37 @@ private properties on the base class instance
}
}
]
+[[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 : #inc() { this.#field++; return this.#field; }
+ objectId : <objectId>
+ subtype : internal#privateMethod
+ type : object
+ }
+ writable : true
+ }
+ ]
+}
private accessors properties on the base class instance
+privateProperties from Runtime.getProperties()
[
[0] : {
name : #writeOnly
@@ -130,18 +151,10 @@ Evaluating write-only accessor
value : 0
}
}
-privateProperties on the subclass instance
+private members on the subclass instance
+privateProperties from Runtime.getProperties()
[
[0] : {
- name : #inc
- value : {
- className : Function
- description : #inc() { this.#field++; return this.#field; }
- objectId : <objectId>
- type : function
- }
- }
- [1] : {
name : #writeOnly
set : {
className : Function
@@ -150,7 +163,7 @@ privateProperties on the subclass instance
type : function
}
}
- [2] : {
+ [1] : {
get : {
className : Function
description : get #readOnly() { return this.#field; }
@@ -159,7 +172,7 @@ privateProperties on the subclass instance
}
name : #readOnly
}
- [3] : {
+ [2] : {
get : {
className : Function
description : get #accessor() { return this.#field; }
@@ -174,7 +187,7 @@ privateProperties on the subclass instance
type : function
}
}
- [4] : {
+ [3] : {
name : #field
value : {
description : 2
@@ -182,25 +195,64 @@ privateProperties on the subclass instance
value : 2
}
}
- [5] : {
- name : #subclassMethod
- value : {
- className : Function
- description : #subclassMethod() { return 'subclassMethod'; }
- objectId : <objectId>
- type : function
- }
+]
+[[PrivateMethods]] in internalProperties from Runtime.getProperties()
+{
+ name : [[PrivateMethods]]
+ value : {
+ className : Array
+ description : PrivateMethods[3]
+ objectId : <objectId>
+ subtype : internal#privateMethodList
+ type : object
}
- [6] : {
- name : #inc
- value : {
- className : Function
- description : #inc() { return 'subclass #inc'; }
- objectId : <objectId>
- type : function
+}
+{
+ result : [
+ [0] : {
+ configurable : true
+ enumerable : true
+ isOwn : true
+ name : 0
+ value : {
+ className : Object
+ description : #inc() { this.#field++; return this.#field; }
+ objectId : <objectId>
+ subtype : internal#privateMethod
+ type : object
+ }
+ writable : true
}
- }
-]
+ [1] : {
+ configurable : true
+ enumerable : true
+ isOwn : true
+ name : 1
+ value : {
+ className : Object
+ description : #subclassMethod() { return 'subclassMethod'; }
+ objectId : <objectId>
+ subtype : internal#privateMethod
+ type : object
+ }
+ writable : true
+ }
+ [2] : {
+ configurable : true
+ enumerable : true
+ isOwn : true
+ name : 2
+ value : {
+ className : Object
+ description : #inc() { return 'subclass #inc'; }
+ objectId : <objectId>
+ subtype : internal#privateMethod
+ type : object
+ }
+ writable : true
+ }
+ ]
+}
Evaluating private methods in the base class from the subclass
{
exceptionDetails : {