Lines Matching refs:HasOwnProperty
1377 ExpectBoolean("child.hasOwnProperty('age')", false);
1397 ExpectBoolean("child.hasOwnProperty('age')", false);
1413 ExpectBoolean("child.hasOwnProperty('name')", false);
1417 ExpectBoolean("child.hasOwnProperty('name')", true);
1513 ExpectBoolean("obj.hasOwnProperty('age')", true);
1537 ExpectBoolean("obj.hasOwnProperty('age')", true);
3033 CompileRun("Object.prototype.hasOwnProperty = fail;");
8540 "o.hasOwnProperty('ostehaps');");
8544 "o.hasOwnProperty('ostehaps');");
8548 "p.hasOwnProperty('ostehaps');");
8586 "o.hasOwnProperty('ostehaps');");
12933 result = CompileRun("pixels.hasOwnProperty('1')");
14964 ExpectFalse("Object.prototype.hasOwnProperty.call(other, \'0\')");
15822 TEST(HasOwnProperty) {
15840 CHECK(!object->HasOwnProperty(v8_str("foo")));
15841 CHECK(object->HasOwnProperty(v8_str("bar")));
15843 CHECK(!object->HasOwnProperty(v8_str("baz")));
15844 CHECK(object->HasOwnProperty(v8_str("bla")));
15850 CHECK(!instance->HasOwnProperty(v8_str("42")));
15851 CHECK(instance->HasOwnProperty(v8_str("foo")));
15852 CHECK(!instance->HasOwnProperty(v8_str("bar")));
15858 CHECK(instance->HasOwnProperty(v8_str("42")));
15859 CHECK(!instance->HasOwnProperty(v8_str("43")));
15860 CHECK(!instance->HasOwnProperty(v8_str("foo")));
15866 CHECK(instance->HasOwnProperty(v8_str("foo")));
15867 CHECK(!instance->HasOwnProperty(v8_str("bar")));
15873 CHECK(instance->HasOwnProperty(v8_str("42")));
15874 CHECK(!instance->HasOwnProperty(v8_str("41")));
15880 CHECK(instance->HasOwnProperty(v8_str("foo")));
15881 CHECK(!instance->HasOwnProperty(v8_str("bar")));
15889 CHECK(!instance->HasOwnProperty(v8_str("foo")));
15890 CHECK(instance->HasOwnProperty(v8_str("bar")));
16151 ExpectBoolean("c.hasOwnProperty('x')", false);
16155 ExpectBoolean("c.hasOwnProperty('x')", false);
16157 ExpectBoolean("c.hasOwnProperty('y')", false);