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

Unified Diff: test/inspector/runtime/internal-properties-expected.txt

Issue 2672213002: [inspector] introduced v8::debug::EntriesPreview for inspector (Closed)
Patch Set: addressed comments Created 3 years, 10 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/runtime/internal-properties-entries-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/inspector/runtime/internal-properties-expected.txt
diff --git a/test/inspector/runtime/internal-properties-expected.txt b/test/inspector/runtime/internal-properties-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..f5e7a8d0d8704b8c7c8654217283fec7d16e3ec7
--- /dev/null
+++ b/test/inspector/runtime/internal-properties-expected.txt
@@ -0,0 +1,324 @@
+Checks internal properties in Runtime.getProperties output
+
+Running test: generatorFunction
+expression: (function* foo() { yield 1 })
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[FunctionLocation]]
+ value : {
+ description : Object
+ subtype : internal#location
+ type : object
+ value : {
+ columnNumber : 14
+ lineNumber : 0
+ scriptId : <scriptId>
+ }
+ }
+ }
+ [1] : {
+ name : [[IsGenerator]]
+ value : {
+ type : boolean
+ value : true
+ }
+ }
+ [2] : {
+ name : [[Scopes]]
+ value : {
+ className : Array
+ description : Scopes[1]
+ objectId : <objectId>
+ subtype : internal#scopeList
+ type : object
+ }
+ }
+ ]
+ }
+}
+
+Running test: regularFunction
+expression: (function foo() {})
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[FunctionLocation]]
+ value : {
+ description : Object
+ subtype : internal#location
+ type : object
+ value : {
+ columnNumber : 13
+ lineNumber : 0
+ scriptId : <scriptId>
+ }
+ }
+ }
+ [1] : {
+ name : [[Scopes]]
+ value : {
+ className : Array
+ description : Scopes[1]
+ objectId : <objectId>
+ subtype : internal#scopeList
+ type : object
+ }
+ }
+ ]
+ }
+}
+
+Running test: boxedObjects
+expression: new Number(239)
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PrimitiveValue]]
+ value : {
+ description : 239
+ type : number
+ value : 239
+ }
+ }
+ ]
+ }
+}
+expression: new Boolean(false)
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PrimitiveValue]]
+ value : {
+ type : boolean
+ value : false
+ }
+ }
+ ]
+ }
+}
+expression: new String('abc')
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PrimitiveValue]]
+ value : {
+ type : string
+ value : abc
+ }
+ }
+ ]
+ }
+}
+expression: Object(Symbol(42))
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PrimitiveValue]]
+ value : {
+ description : Symbol(42)
+ objectId : <objectId>
+ type : symbol
+ }
+ }
+ ]
+ }
+}
+
+Running test: promise
+expression: Promise.resolve(42)
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PromiseStatus]]
+ value : {
+ type : string
+ value : resolved
+ }
+ }
+ [1] : {
+ name : [[PromiseValue]]
+ value : {
+ description : 42
+ type : number
+ value : 42
+ }
+ }
+ ]
+ }
+}
+expression: new Promise(() => undefined)
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[PromiseStatus]]
+ value : {
+ type : string
+ value : pending
+ }
+ }
+ [1] : {
+ name : [[PromiseValue]]
+ value : {
+ type : undefined
+ }
+ }
+ ]
+ }
+}
+
+Running test: generatorObject
+expression: (function* foo() { yield 1 })()
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[GeneratorStatus]]
+ value : {
+ type : string
+ value : suspended
+ }
+ }
+ [1] : {
+ name : [[GeneratorFunction]]
+ value : {
+ className : GeneratorFunction
+ description : function* foo() { yield 1 }
+ objectId : <objectId>
+ type : function
+ }
+ }
+ [2] : {
+ name : [[GeneratorReceiver]]
+ value : {
+ className : global
+ description : global
+ objectId : <objectId>
+ type : object
+ }
+ }
+ [3] : {
+ name : [[GeneratorLocation]]
+ value : {
+ description : Object
+ subtype : internal#location
+ type : object
+ value : {
+ columnNumber : 14
+ lineNumber : 0
+ scriptId : <scriptId>
+ }
+ }
+ }
+ [4] : {
+ name : [[Scopes]]
+ value : {
+ className : Array
+ description : Scopes[2]
+ objectId : <objectId>
+ subtype : internal#scopeList
+ type : object
+ }
+ }
+ ]
+ }
+}
+
+Running test: iteratorObject
+expression: (new Map([[1,2]])).entries()
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[IteratorHasMore]]
+ value : {
+ type : boolean
+ value : true
+ }
+ }
+ [1] : {
+ name : [[IteratorIndex]]
+ value : {
+ description : 0
+ type : number
+ value : 0
+ }
+ }
+ [2] : {
+ name : [[IteratorKind]]
+ value : {
+ type : string
+ value : entries
+ }
+ }
+ [3] : {
+ name : [[Entries]]
+ value : {
+ className : Array
+ description : Array(1)
+ objectId : <objectId>
+ subtype : array
+ type : object
+ }
+ }
+ ]
+ }
+}
+expression: (new Set([[1,2]])).entries()
+{
+ id : <messageId>
+ result : {
+ internalProperties : [
+ [0] : {
+ name : [[IteratorHasMore]]
+ value : {
+ type : boolean
+ value : true
+ }
+ }
+ [1] : {
+ name : [[IteratorIndex]]
+ value : {
+ description : 0
+ type : number
+ value : 0
+ }
+ }
+ [2] : {
+ name : [[IteratorKind]]
+ value : {
+ type : string
+ value : entries
+ }
+ }
+ [3] : {
+ name : [[Entries]]
+ value : {
+ className : Array
+ description : Array(1)
+ objectId : <objectId>
+ subtype : array
+ type : object
+ }
+ }
+ ]
+ }
+}
« no previous file with comments | « test/inspector/runtime/internal-properties-entries-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698