Lines Matching refs:WeakMap
71 TestValidMapCalls(new WeakMap);
82 TestInvalidCalls(new WeakMap);
125 if (typeof key === 'object' && !(map instanceof WeakMap)) {
160 TestMapBehavior(new WeakMap);
172 TestQuery(new WeakMap);
184 TestDelete(new WeakMap);
195 TestGC1(new WeakMap);
212 TestGC2(new WeakMap);
228 TestEnumerable(WeakMap);
245 TestArbitrary(new WeakMap);
251 assertThrows(function() { WeakMap(); }, TypeError);
294 var m = new WeakMap;
295 assertTrue(m instanceof WeakMap);
296 assertTrue(WeakMap.prototype.set instanceof Function)
297 assertTrue(WeakMap.prototype.get instanceof Function)
298 assertTrue(WeakMap.prototype.has instanceof Function)
299 assertTrue(WeakMap.prototype.delete instanceof Function)
315 assertEquals("WeakMap", %_ClassOf(new WeakMap))
316 assertEquals("Object", %_ClassOf(WeakMap.prototype))
318 assertEquals("Object", %_ClassOf(WeakMap.prototype))
324 assertEquals("WeakMap", WeakMap.name);
340 TestPrototype(WeakMap);
353 TestConstructor(WeakMap);
368 TestDescriptor(this, WeakMap);
373 assertTrue(WeakMap.prototype.constructor === WeakMap)
374 assertTrue(Object.getPrototypeOf(WeakMap.prototype) === Object.prototype)
379 assertFalse(WeakMap.prototype === Object.prototype);
401 receivers: alwaysBogus.concat([ new Map, new WeakMap, new WeakSet ]),
405 receivers: alwaysBogus.concat([ new Set, new WeakMap, new WeakSet ]),
407 { proto: WeakMap.prototype,
413 receivers: alwaysBogus.concat([ new Set, new Map, new WeakMap ]),
1297 TestMapConstructor(WeakMap);
1309 TestMapConstructorSetNotCallable(WeakMap);
1330 TestMapConstructorGetAddOnce(WeakMap);
1347 TestMapConstructorSetReplaced(WeakMap);
1376 TestMapConstructorOrderOfDoneValue(WeakMap);
1393 TestMapConstructorNextNotAnObject(WeakMap);
1402 TestMapConstructorIteratorNotObjectValues(WeakMap);
1407 new WeakMap([[1, 2]])
1434 TestMapConstructorIterableValue(WeakMap);
1442 TestCollectionToString(WeakMap);
1477 TestConstructorOrderOfAdderIterator(WeakMap, 'set');