Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: test/inspector/debugger/object-preview-internal-properties-expected.txt

Issue 2399003003: [inspector] filter useless in preview internal properties (Closed)
Patch Set: addressed comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/inspector/debugger/object-preview-internal-properties.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/debugger/object-preview-internal-properties-expected.txt
diff --git a/test/inspector/debugger/object-preview-internal-properties-expected.txt b/test/inspector/debugger/object-preview-internal-properties-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..2c7995c335daff271e244bde607d5055e2f42d1b
--- /dev/null
+++ b/test/inspector/debugger/object-preview-internal-properties-expected.txt
@@ -0,0 +1,253 @@
+Check internal properties reported in object preview.
+
+Running test: boxedObjects
+expression: new Number(239)
+{
+ name : [[PrimitiveValue]]
+ type : number
+ value : 239
+}
+
+expression: new Boolean(false)
+{
+ name : [[PrimitiveValue]]
+ type : boolean
+ value : false
+}
+
+expression: new String("abc")
+{
+ name : [[PrimitiveValue]]
+ type : string
+ value : abc
+}
+
+expression: Object(Symbol(42))
+{
+ name : [[PrimitiveValue]]
+ type : symbol
+ valuePreview : {
+ description : Symbol
+ overflow : false
+ properties : [
+ ]
+ type : object
+ }
+}
+
+
+Running test: promise
+expression: Promise.resolve(42)
+{
+ name : [[PromiseStatus]]
+ type : string
+ value : resolved
+}
+{
+ name : [[PromiseValue]]
+ type : number
+ value : 42
+}
+
+expression: new Promise(() => undefined)
+{
+ name : [[PromiseStatus]]
+ type : string
+ value : pending
+}
+{
+ name : [[PromiseValue]]
+ type : undefined
+ value : undefined
+}
+
+
+Running test: generatorObject
+expression: (function* foo() { yield 1 })()
+{
+ name : [[GeneratorStatus]]
+ type : string
+ value : suspended
+}
+
+
+Running test: entriesInMapAndSet
+expression: new Map([[1,2]])
+[[Entries]]:
+[
+ [0] : {
+ key : {
+ description : 1
+ overflow : false
+ properties : [
+ ]
+ type : number
+ }
+ value : {
+ description : 2
+ overflow : false
+ properties : [
+ ]
+ type : number
+ }
+ }
+]
+
+expression: new Set([1])
+[[Entries]]:
+[
+ [0] : {
+ value : {
+ description : 1
+ overflow : false
+ properties : [
+ ]
+ type : number
+ }
+ }
+]
+
+expression: new WeakMap([[{}, 42]])
+[[Entries]]:
+[
+ [0] : {
+ key : {
+ description : Object
+ overflow : false
+ properties : [
+ ]
+ type : object
+ }
+ value : {
+ description : 42
+ overflow : false
+ properties : [
+ ]
+ type : number
+ }
+ }
+]
+
+expression: new WeakSet([{}])
+[[Entries]]:
+[
+ [0] : {
+ value : {
+ description : Object
+ overflow : false
+ properties : [
+ ]
+ type : object
+ }
+ }
+]
+
+
+Running test: iteratorObject
+expression: (new Map([[1,2]])).entries()
+{
+ name : [[IteratorHasMore]]
+ type : boolean
+ value : true
+}
+{
+ name : [[IteratorIndex]]
+ type : number
+ value : 0
+}
+{
+ name : [[IteratorKind]]
+ type : string
+ value : entries
+}
+[[Entries]]:
+[
+ [0] : {
+ value : {
+ description : Array[2]
+ overflow : false
+ properties : [
+ [0] : {
+ name : 0
+ type : number
+ value : 1
+ }
+ [1] : {
+ name : 1
+ type : number
+ value : 2
+ }
+ ]
+ subtype : array
+ type : object
+ }
+ }
+]
+
+expression: (new Set([[1,2]])).entries()
+{
+ name : [[IteratorHasMore]]
+ type : boolean
+ value : true
+}
+{
+ name : [[IteratorIndex]]
+ type : number
+ value : 0
+}
+{
+ name : [[IteratorKind]]
+ type : string
+ value : entries
+}
+[[Entries]]:
+[
+ [0] : {
+ value : {
+ description : Array[2]
+ overflow : false
+ properties : [
+ [0] : {
+ name : 0
+ subtype : array
+ type : object
+ value : Array[2]
+ }
+ [1] : {
+ name : 1
+ subtype : array
+ type : object
+ value : Array[2]
+ }
+ ]
+ subtype : array
+ type : object
+ }
+ }
+]
+
+
+Running test: noPreviewForFunctionObject
+(function foo(){})
+{
+ id : <messageId>
+ result : {
+ result : {
+ className : Function
+ description : function foo(){}
+ objectId : <objectId>
+ type : function
+ }
+ }
+}
+
+Running test: otherObjects
+expression: [1,2,3]
+
+expression: /123/
+
+expression: ({})
+
+
+Running test: overridenArrayGetter
+expression: Promise.resolve(42)
« no previous file with comments | « test/inspector/debugger/object-preview-internal-properties.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698