Lines Matching refs:WeakMap

56 TestValidMapCalls(new WeakMap);
70 TestInvalidCalls(new WeakMap);
110 TestMapBehavior1(new WeakMap);
140 TestQuery(new WeakMap);
153 TestDelete(new WeakMap);
164 TestGC1(new WeakMap);
181 TestGC2(new WeakMap);
197 TestEnumerable(WeakMap);
214 TestArbitrary(new WeakMap);
220 assertThrows(function() { WeakMap(); }, TypeError);
263 var m = new WeakMap;
264 assertTrue(m instanceof WeakMap);
265 assertTrue(WeakMap.prototype.set instanceof Function)
266 assertTrue(WeakMap.prototype.get instanceof Function)
267 assertTrue(WeakMap.prototype.has instanceof Function)
268 assertTrue(WeakMap.prototype.delete instanceof Function)
269 assertTrue(WeakMap.prototype.clear instanceof Function)
286 assertEquals("WeakMap", %_ClassOf(new WeakMap))
287 assertEquals("Object", %_ClassOf(WeakMap.prototype))
289 assertEquals("Object", %_ClassOf(WeakMap.prototype))
295 assertEquals("WeakMap", WeakMap.name);
311 TestPrototype(WeakMap);
324 TestConstructor(WeakMap);
339 TestDescriptor(this, WeakMap);
344 assertTrue(WeakMap.prototype.constructor === WeakMap)
345 assertTrue(Object.getPrototypeOf(WeakMap.prototype) === Object.prototype)
350 assertFalse(WeakMap.prototype === Object.prototype);
372 receivers: alwaysBogus.concat([ new Map, new WeakMap, new WeakSet ]),
376 receivers: alwaysBogus.concat([ new Set, new WeakMap, new WeakSet ]),
378 { proto: WeakMap.prototype,
384 receivers: alwaysBogus.concat([ new Set, new Map, new WeakMap ]),
477 var w = new WeakMap();
1232 TestMapConstructor(WeakMap);
1244 TestMapConstructorSetNotCallable(WeakMap);
1265 TestMapConstructorGetAddOnce(WeakMap);
1282 TestMapConstructorSetReplaced(WeakMap);
1311 TestMapConstructorOrderOfDoneValue(WeakMap);
1328 TestMapConstructorNextNotAnObject(WeakMap);
1337 TestMapConstructorIteratorNotObjectValues(WeakMap);
1342 new WeakMap([[1, 2]])
1368 TestMapConstructorIterableValue(WeakMap);