Home | History | Annotate | Download | only in cctest

Lines Matching full:prop

229   fun_proto->Set(v8_str("prop"), callback);
245 "var prop_key = 'prop';"
270 TestSignature("test_object.prop();", test_object);
4500 Local<String> prop = v8_str("none");
4501 context->Global()->Set(prop, v8_num(7));
4502 CHECK_EQ(v8::None, context->Global()->GetPropertyAttributes(prop));
4504 prop = v8_str("read_only");
4505 context->Global()->ForceSet(prop, v8_num(7), v8::ReadOnly);
4506 CHECK_EQ(7, context->Global()->Get(prop)->Int32Value());
4507 CHECK_EQ(v8::ReadOnly, context->Global()->GetPropertyAttributes(prop));
4509 CHECK_EQ(7, context->Global()->Get(prop)->Int32Value());
4510 context->Global()->Set(prop, v8_num(10));
4511 CHECK_EQ(7, context->Global()->Get(prop)->Int32Value());
4513 prop = v8_str("dont_delete");
4514 context->Global()->ForceSet(prop, v8_num(13), v8::DontDelete);
4515 CHECK_EQ(13, context->Global()->Get(prop)->Int32Value());
4517 CHECK_EQ(13, context->Global()->Get(prop)->Int32Value());
4518 CHECK_EQ(v8::DontDelete, context->Global()->GetPropertyAttributes(prop));
4520 prop = v8_str("dont_enum");
4521 context->Global()->ForceSet(prop, v8_num(28), v8::DontEnum);
4522 CHECK_EQ(v8::DontEnum, context->Global()->GetPropertyAttributes(prop));
4524 prop = v8_str("absent");
4525 CHECK_EQ(v8::None, context->Global()->GetPropertyAttributes(prop));
5668 "var prop = Object.getOwnPropertyDescriptor( "
5670 "prop.configurable;");
5716 "var prop ="
5719 "prop.configurable;");
7652 "for (var prop in k) {"
7653 " result.push(prop);"
8901 env1->Global()->Set(v8_str("prop"), v8_num(3));
8904 // Change env2 to a different domain and delete env1.prop.
8909 CompileRun("delete env1.prop");
8913 // Check that env1.prop still exists.
8914 Local<Value> v = env1->Global()->Get(v8_str("prop"));
8932 env1->Global()->Set(v8_str("prop
8935 // env1.prop is enumerable in env2.
8936 Local<String> test = v8_str("propertyIsEnumerable.call(env1, 'prop')");
8965 env1->Global()->Set(v8_str("prop"), v8_num(3));
8980 " if (p == 'prop') return false;"
9010 global2->Set(v8_str("prop"), v8::Integer::New(env2->GetIsolate(), 1));
9011 CompileRun("function getProp() {return prop;}");
9029 CHECK(global3->Get(v8_str("prop"))->IsUndefined());
9031 global3->Set(v8_str("prop"), v8::Integer::New(env3->GetIsolate(), -1));
9784 " for (var i = 0; i < 10; i++) obj.prop = 1;"
9785 " for (var j = 0; j < 10; j++) obj.prop;"
9786 " return obj.prop"
9794 CompileRun("var p = 'prop';"
9842 value = CompileRun("delete obj.prop");
17383 " var prop = setters[i];\n"
17384 " Object.prototype.__defineSetter__(prop, function() { throw prop; });\n"