Lines Matching refs:get

77 // A helper to get the global of a Function object.  This is needed to determine
317 ? this.skipped.get(name).push(parsed)
357 const next = this.skipped.get(deferred);
780 partialTestCount += testedPartials.get(parsed_idl.name);
980 // that we get the right type
1467 assert_false("get" in desc, "self's property " + format_value(this.name) + " should not have a getter");
1557 assert_false("get" in desc, this.name + ".length should not have a getter");
1583 assert_false("get" in desc, this.name + ".name should not have a getter");
1633 assert_false('get' in desc, alias + " should not have a getter");
1672 assert_false("get" in desc, name + " should not have a getter");
1707 assert_false("get" in desc, "prototype should not have a getter");
1722 assert_false("get" in desc, "name should not have a getter");
1741 assert_false("get" in desc, "length should not have a getter");
1788 assert_false("get" in desc, this.name + ".prototype should not have a getter");
1849 // We can't test that we get the correct object, because this is the
1850 // only way to get our hands on it. We only test that its class
1913 assert_false("get" in desc, this.name + ".prototype.constructor should not have a getter");
1952 assert_false("get" in desc,
2123 assert_false("get" in desc, "property should not have a getter");
2149 assert_false("get" in desc, "property should not have a getter");
2193 var getter = Object.getOwnPropertyDescriptor(self, member.name).get;
2197 // Try/catch around the get here, since it can legitimately throw.
2326 assert_false("get" in propDesc,
2348 assert_false("get" in desc, "property should not have a getter");
2403 // interface. (Have to be sure to get inheritance right.)
2483 ["get", 1],
2511 assert_equals(typeof sizeDesc.get, "function", `size getter should be a function`);
2515 assert_equals(sizeDesc.get.length, 0, `size getter length should have the right length`);
2516 assert_equals(sizeDesc.get.name, "get size", `size getter have the right name`);
2556 assert_equals(typeof sizeDesc.get, "function", `size getter should be a function`);
2560 assert_equals(sizeDesc.get.length, 0, `size getter length should have the right length`);
2561 assert_equals(sizeDesc.get.name, "size", `size getter have the right name`);
2625 assert_false("get" in desc, "property should not have a getter");
2650 // interface. (Have to be sure to get inheritance right.)
3035 assert_equals(typeof desc.get, "function", "getter must be Function");
3045 assert_throws_js(globalOf(desc.get).TypeError, function() {
3046 desc.get.call({});
3050 promise_rejects_js(a_test, TypeError, desc.get.call({}),
3054 assert_equals(desc.get.call({}), undefined,
3061 assert_equals(desc.get.length, 0, "getter length must be 0");
3063 // "Let name be the string "get " prepended to attribute’s identifier."
3065 assert_equals(desc.get.name, "get " + member.name,
3066 "getter must have the name 'get " + member.name + "'");
3292 assert_false("get" in desc, "property should not have a getter");
3381 assert_false("get" in desc, "namespace object should not have a getter");