OLD | NEW |
(Empty) | |
| 1 Check internal properties reported in object preview. |
| 2 |
| 3 Running test: boxedObjects |
| 4 expression: new Number(239) |
| 5 { |
| 6 name : [[PrimitiveValue]] |
| 7 type : number |
| 8 value : 239 |
| 9 } |
| 10 |
| 11 expression: new Boolean(false) |
| 12 { |
| 13 name : [[PrimitiveValue]] |
| 14 type : boolean |
| 15 value : false |
| 16 } |
| 17 |
| 18 expression: new String("abc") |
| 19 { |
| 20 name : [[PrimitiveValue]] |
| 21 type : string |
| 22 value : abc |
| 23 } |
| 24 |
| 25 expression: Object(Symbol(42)) |
| 26 { |
| 27 name : [[PrimitiveValue]] |
| 28 type : symbol |
| 29 valuePreview : { |
| 30 description : Symbol |
| 31 overflow : false |
| 32 properties : [ |
| 33 ] |
| 34 type : object |
| 35 } |
| 36 } |
| 37 |
| 38 |
| 39 Running test: promise |
| 40 expression: Promise.resolve(42) |
| 41 { |
| 42 name : [[PromiseStatus]] |
| 43 type : string |
| 44 value : resolved |
| 45 } |
| 46 { |
| 47 name : [[PromiseValue]] |
| 48 type : number |
| 49 value : 42 |
| 50 } |
| 51 |
| 52 expression: new Promise(() => undefined) |
| 53 { |
| 54 name : [[PromiseStatus]] |
| 55 type : string |
| 56 value : pending |
| 57 } |
| 58 { |
| 59 name : [[PromiseValue]] |
| 60 type : undefined |
| 61 value : undefined |
| 62 } |
| 63 |
| 64 |
| 65 Running test: generatorObject |
| 66 expression: (function* foo() { yield 1 })() |
| 67 { |
| 68 name : [[GeneratorStatus]] |
| 69 type : string |
| 70 value : suspended |
| 71 } |
| 72 |
| 73 |
| 74 Running test: entriesInMapAndSet |
| 75 expression: new Map([[1,2]]) |
| 76 [[Entries]]: |
| 77 [ |
| 78 [0] : { |
| 79 key : { |
| 80 description : 1 |
| 81 overflow : false |
| 82 properties : [ |
| 83 ] |
| 84 type : number |
| 85 } |
| 86 value : { |
| 87 description : 2 |
| 88 overflow : false |
| 89 properties : [ |
| 90 ] |
| 91 type : number |
| 92 } |
| 93 } |
| 94 ] |
| 95 |
| 96 expression: new Set([1]) |
| 97 [[Entries]]: |
| 98 [ |
| 99 [0] : { |
| 100 value : { |
| 101 description : 1 |
| 102 overflow : false |
| 103 properties : [ |
| 104 ] |
| 105 type : number |
| 106 } |
| 107 } |
| 108 ] |
| 109 |
| 110 expression: new WeakMap([[{}, 42]]) |
| 111 [[Entries]]: |
| 112 [ |
| 113 [0] : { |
| 114 key : { |
| 115 description : Object |
| 116 overflow : false |
| 117 properties : [ |
| 118 ] |
| 119 type : object |
| 120 } |
| 121 value : { |
| 122 description : 42 |
| 123 overflow : false |
| 124 properties : [ |
| 125 ] |
| 126 type : number |
| 127 } |
| 128 } |
| 129 ] |
| 130 |
| 131 expression: new WeakSet([{}]) |
| 132 [[Entries]]: |
| 133 [ |
| 134 [0] : { |
| 135 value : { |
| 136 description : Object |
| 137 overflow : false |
| 138 properties : [ |
| 139 ] |
| 140 type : object |
| 141 } |
| 142 } |
| 143 ] |
| 144 |
| 145 |
| 146 Running test: iteratorObject |
| 147 expression: (new Map([[1,2]])).entries() |
| 148 { |
| 149 name : [[IteratorHasMore]] |
| 150 type : boolean |
| 151 value : true |
| 152 } |
| 153 { |
| 154 name : [[IteratorIndex]] |
| 155 type : number |
| 156 value : 0 |
| 157 } |
| 158 { |
| 159 name : [[IteratorKind]] |
| 160 type : string |
| 161 value : entries |
| 162 } |
| 163 [[Entries]]: |
| 164 [ |
| 165 [0] : { |
| 166 value : { |
| 167 description : Array[2] |
| 168 overflow : false |
| 169 properties : [ |
| 170 [0] : { |
| 171 name : 0 |
| 172 type : number |
| 173 value : 1 |
| 174 } |
| 175 [1] : { |
| 176 name : 1 |
| 177 type : number |
| 178 value : 2 |
| 179 } |
| 180 ] |
| 181 subtype : array |
| 182 type : object |
| 183 } |
| 184 } |
| 185 ] |
| 186 |
| 187 expression: (new Set([[1,2]])).entries() |
| 188 { |
| 189 name : [[IteratorHasMore]] |
| 190 type : boolean |
| 191 value : true |
| 192 } |
| 193 { |
| 194 name : [[IteratorIndex]] |
| 195 type : number |
| 196 value : 0 |
| 197 } |
| 198 { |
| 199 name : [[IteratorKind]] |
| 200 type : string |
| 201 value : entries |
| 202 } |
| 203 [[Entries]]: |
| 204 [ |
| 205 [0] : { |
| 206 value : { |
| 207 description : Array[2] |
| 208 overflow : false |
| 209 properties : [ |
| 210 [0] : { |
| 211 name : 0 |
| 212 subtype : array |
| 213 type : object |
| 214 value : Array[2] |
| 215 } |
| 216 [1] : { |
| 217 name : 1 |
| 218 subtype : array |
| 219 type : object |
| 220 value : Array[2] |
| 221 } |
| 222 ] |
| 223 subtype : array |
| 224 type : object |
| 225 } |
| 226 } |
| 227 ] |
| 228 |
| 229 |
| 230 Running test: noPreviewForFunctionObject |
| 231 (function foo(){}) |
| 232 { |
| 233 id : <messageId> |
| 234 result : { |
| 235 result : { |
| 236 className : Function |
| 237 description : function foo(){} |
| 238 objectId : <objectId> |
| 239 type : function |
| 240 } |
| 241 } |
| 242 } |
| 243 |
| 244 Running test: otherObjects |
| 245 expression: [1,2,3] |
| 246 |
| 247 expression: /123/ |
| 248 |
| 249 expression: ({}) |
| 250 |
OLD | NEW |