c3424f0970ffad70e71e58072d07246007706b3d
[WebKit-https.git] / LayoutTests / inspector / model / remote-object-weak-collection-expected.txt
1
2 -----------------------------------------------------
3 EXPRESSION:  weakMap
4 ENTRIES:
5 []
6
7 -----------------------------------------------------
8 EXPRESSION: weakMap.set(strongKey1, 1); weakMap.set(strongKey2, 2); weakMap
9 ENTRIES:
10 [
11   {
12     "key": {
13       "type": "object",
14       "objectId": "<filtered>",
15       "className": "Object",
16       "description": "Object",
17       "preview": {
18         "type": "object",
19         "description": "Object",
20         "lossless": true,
21         "properties": [
22           {
23             "name": "id",
24             "type": "number",
25             "value": "1"
26           }
27         ]
28       }
29     },
30     "value": {
31       "type": "number",
32       "value": 1,
33       "description": "1"
34     }
35   },
36   {
37     "key": {
38       "type": "object",
39       "objectId": "<filtered>",
40       "className": "Object",
41       "description": "Object",
42       "preview": {
43         "type": "object",
44         "description": "Object",
45         "lossless": true,
46         "properties": [
47           {
48             "name": "id",
49             "type": "number",
50             "value": "2"
51           }
52         ]
53       }
54     },
55     "value": {
56       "type": "number",
57       "value": 2,
58       "description": "2"
59     }
60   }
61 ]
62
63 -----------------------------------------------------
64 EXPRESSION: delete window.strongKey1; weakMap
65 ENTRIES:
66 [
67   {
68     "key": {
69       "type": "object",
70       "objectId": "<filtered>",
71       "className": "Object",
72       "description": "Object",
73       "preview": {
74         "type": "object",
75         "description": "Object",
76         "lossless": true,
77         "properties": [
78           {
79             "name": "id",
80             "type": "number",
81             "value": "2"
82           }
83         ]
84       }
85     },
86     "value": {
87       "type": "number",
88       "value": 2,
89       "description": "2"
90     }
91   }
92 ]
93
94 -----------------------------------------------------
95 EXPRESSION: weakMap.set({id:3}, 3); weakMap.set({id:4}, 4); weakMap
96 ENTRIES:
97 [
98   {
99     "key": {
100       "type": "object",
101       "objectId": "<filtered>",
102       "className": "Object",
103       "description": "Object",
104       "preview": {
105         "type": "object",
106         "description": "Object",
107         "lossless": true,
108         "properties": [
109           {
110             "name": "id",
111             "type": "number",
112             "value": "2"
113           }
114         ]
115       }
116     },
117     "value": {
118       "type": "number",
119       "value": 2,
120       "description": "2"
121     }
122   }
123 ]
124
125 -----------------------------------------------------
126 EXPRESSION: delete window.strongKey2; weakMap
127 ENTRIES:
128 []
129