Lines Matching refs:proto

89     // with a weird proto chain or weird .constructor property, just fall back
1693 // "7. Let proto be the interface prototype object of interface I
1697 // [[Value]]: proto, [[Writable]]: false,
1946 var proto = this.get_interface_object().prototype;
1949 proto, Symbol.unscopables,
1951 var desc = Object.getOwnPropertyDescriptor(proto, Symbol.unscopables);
1958 assert_equals(desc.value, proto[Symbol.unscopables],
2385 // have to skip this test for anything that on the proto chain of "self",
2441 var proto = this.get_interface_object().prototype;
2442 var iteratorDesc = Object.getOwnPropertyDescriptor(proto, Symbol.iterator);
2452 assert_equals(proto["entries"], proto[Symbol.iterator], "entries method should be the same as @@iterator method");
2459 var desc = Object.getOwnPropertyDescriptor(proto, property);
2465 assert_equals(proto[Symbol.iterator], Array.prototype[Symbol.iterator], "@@iterator method should be the same as Array prototype's");
2468 assert_equals(proto[property], Array.prototype[property], propertyName + " method should be the same as Array prototype's");
2476 const proto = this.get_interface_object().prototype;
2495 const desc = Object.getOwnPropertyDescriptor(proto, name);
2504 const iteratorDesc = Object.getOwnPropertyDescriptor(proto, Symbol.iterator);
2505 assert_equals(iteratorDesc.value, proto.entries, `@@iterator should equal entries`);
2510 const sizeDesc = Object.getOwnPropertyDescriptor(proto, "size");
2522 const proto = this.get_interface_object().prototype;
2540 const desc = Object.getOwnPropertyDescriptor(proto, name);
2549 const iteratorDesc = Object.getOwnPropertyDescriptor(proto, Symbol.iterator);
2550 assert_equals(iteratorDesc.value, proto.values, `@@iterator should equal values`);
2555 const sizeDesc = Object.getOwnPropertyDescriptor(proto, "size");
2570 var proto = this.get_interface_object().prototype;
2571 var iteratorDesc = Object.getOwnPropertyDescriptor(proto, Symbol.asyncIterator);
2581 assert_equals(proto["entries"], proto[Symbol.asyncIterator], "entries method should be the same as @@asyncIterator method");
2583 var desc = Object.getOwnPropertyDescriptor(proto, property);
2589 assert_equals(proto["values"], proto[Symbol.asyncIterator], "values method should be the same as @@asyncIterator method");
2590 assert_false("entries" in proto, "should not have an entries method");
2591 assert_false("keys" in proto, "should not have a keys method");