Web Inspector: ES6: Show Symbol properties on Objects
[WebKit-https.git] / LayoutTests / inspector / model / remote-object-get-properties-expected.txt
index f93e9a3..bc5f590 100644 (file)
@@ -1,7 +1,6 @@
 
 -----------------------------------------------------
 EXPRESSION: window.simpleObject
-objectId: {"injectedScriptId":1,"id":1}
 type: object
 description: Object
 
@@ -10,7 +9,7 @@ OWN PROPERTIES:
     b
     __proto__
 
-OWN AND GETTER PROPERTIES:
+DISPLAYABLE PROPERTIES:
     a
     b
     __proto__
@@ -34,7 +33,6 @@ ALL PROPERTIES:
 
 -----------------------------------------------------
 EXPRESSION: window.loadEvent
-objectId: {"injectedScriptId":1,"id":16}
 type: object
 description: Event
 
@@ -42,7 +40,7 @@ OWN PROPERTIES:
     clipboardData
     __proto__
 
-OWN AND GETTER PROPERTIES:
+DISPLAYABLE PROPERTIES:
     clipboardData
     type
     target
@@ -110,7 +108,6 @@ ALL PROPERTIES:
 
 -----------------------------------------------------
 EXPRESSION: window.complexObject
-objectId: {"injectedScriptId":1,"id":41}
 type: object
 description: SuperFoo
 
@@ -119,27 +116,20 @@ OWN PROPERTIES:
     _foo
     __proto__
 
-OWN AND GETTER PROPERTIES:
+DISPLAYABLE PROPERTIES:
     _bar
     _foo
-    getterProperty
-    foo
-    bar
     __proto__
 
 ALL PROPERTIES:
     _bar
     _foo
     constructor
-    get getterProperty
-    set getterProperty
-    get foo
-    set foo
+    getterProperty
+    foo
     BAR_CONSTANT
-    get bar
-    set bar
-    get setterOnly
-    set setterOnly
+    bar
+    setterOnly
     toString
     toLocaleString
     valueOf
@@ -155,21 +145,157 @@ ALL PROPERTIES:
 
 -----------------------------------------------------
 EXPRESSION: window.badGetterObject
-objectId: {"injectedScriptId":1,"id":60}
 type: object
 description: ClassWithBadGetter
 
 OWN PROPERTIES:
     __proto__
 
-OWN AND GETTER PROPERTIES:
+DISPLAYABLE PROPERTIES:
+    __proto__
+
+ALL PROPERTIES:
+    constructor
     badGetter
+    toString
+    toLocaleString
+    valueOf
+    hasOwnProperty
+    propertyIsEnumerable
+    isPrototypeOf
+    __defineGetter__
+    __defineSetter__
+    __lookupGetter__
+    __lookupSetter__
+    __proto__
+-----------------------------------------------------
+
+-----------------------------------------------------
+EXPRESSION: window.unboundFunction
+type: function
+description: function () { console.log(arguments); }
+
+OWN PROPERTIES:
+    arguments
+    caller
+    length
+    name
+    prototype
+    __proto__
+
+DISPLAYABLE PROPERTIES:
+    arguments
+    caller
+    length
+    name
+    prototype
+    __proto__
+
+ALL PROPERTIES:
+    arguments
+    caller
+    length
+    name
+    prototype
+    toString
+    apply
+    call
+    bind
+    constructor
+    toLocaleString
+    valueOf
+    hasOwnProperty
+    propertyIsEnumerable
+    isPrototypeOf
+    __defineGetter__
+    __defineSetter__
+    __lookupGetter__
+    __lookupSetter__
     __proto__
+-----------------------------------------------------
+
+-----------------------------------------------------
+EXPRESSION: window.boundFunction
+type: function
+description: function () {
+    [native code]
+}
+
+OWN PROPERTIES:
+    name
+    length
+    arguments
+    caller
+    __proto__
+    targetFunction
+    boundThis
+    boundArgs
+
+DISPLAYABLE PROPERTIES:
+    name
+    length
+    arguments
+    caller
+    __proto__
+    targetFunction
+    boundThis
+    boundArgs
 
 ALL PROPERTIES:
+    name
+    length
+    arguments
+    caller
+    toString
+    apply
+    call
+    bind
     constructor
-    get badGetter
-    set badGetter
+    toLocaleString
+    valueOf
+    hasOwnProperty
+    propertyIsEnumerable
+    isPrototypeOf
+    __defineGetter__
+    __defineSetter__
+    __lookupGetter__
+    __lookupSetter__
+    __proto__
+    targetFunction
+    boundThis
+    boundArgs
+-----------------------------------------------------
+
+-----------------------------------------------------
+EXPRESSION: window.objectWithSymbolProperties
+type: object
+description: Object
+
+OWN PROPERTIES:
+    prop
+    prop2
+    Symbol()
+    Symbol(sym)
+    Symbol(sym)
+    Symbol()
+    __proto__
+
+DISPLAYABLE PROPERTIES:
+    prop
+    prop2
+    Symbol()
+    Symbol(sym)
+    Symbol(sym)
+    Symbol()
+    __proto__
+
+ALL PROPERTIES:
+    prop
+    prop2
+    Symbol()
+    Symbol(sym)
+    Symbol(sym)
+    Symbol()
     toString
     toLocaleString
     valueOf
@@ -180,6 +306,7 @@ ALL PROPERTIES:
     __defineSetter__
     __lookupGetter__
     __lookupSetter__
+    constructor
     __proto__
 -----------------------------------------------------
 DONE