Home | History | Annotate | Download | only in cctest

Lines Matching defs:obj2

1766   env->Global()->Set(v8_str("obj2"),
1768 CHECK_EQ(17.2, v8_compile("obj2.flabby()")->Run()->NumberValue());
1769 CHECK(v8_compile("'flabby' in obj2")->Run()->BooleanValue());
1770 CHECK_EQ(15.2, v8_compile("obj2.knurd")->Run()->NumberValue());
1771 CHECK(v8_compile("'knurd' in obj2")->Run()->BooleanValue());
1772 CHECK_EQ(10.1, v8_compile("obj2.v2")->Run()->NumberValue());
1776 CHECK(v8_compile("obj2.v1")->Run()->IsUndefined());
5013 CompileRun("var obj2 = {};");
5016 CHECK(CompileRun("obj2.x")->IsUndefined());
5022 CHECK(CompileRun("obj2.x")->IsUndefined());
5024 CHECK(GetGlobalProperty(&context, "obj2")->
5028 ExpectString("obj2.x", "x");
5031 ExpectTrue("Object.getOwnPropertyDescriptor(obj2, 'x').configurable");
5037 ExpectString("obj2.x", "x");
5039 CompileRun("Object.defineProperty(obj2, 'x',"
5043 ExpectString("obj2.x", "y");
5046 ExpectTrue("Object.getOwnPropertyDescriptor(obj2, 'x').configurable");
5050 CHECK(GetGlobalProperty(&context, "obj2")->
5054 ExpectString("obj2.x", "x");
5057 ExpectTrue("Object.getOwnPropertyDescriptor(obj2, 'x').configurable");
5062 CompileRun("Object.defineProperty(obj2, 'x',"
5066 ExpectTrue("!Object.getOwnPropertyDescriptor(obj2, 'x').configurable");
5069 ExpectString("obj2.x", "z");
5073 CHECK(!GetGlobalProperty(&context, "obj2")->
5077 ExpectString("obj2.x", "z");
5087 CompileRun("var obj2 = {};");
5093 CHECK(GetGlobalProperty(&context, "obj2")->SetAccessor(
5099 ExpectString("obj2.x", "x");
5102 ExpectTrue("!Object.getOwnPropertyDescriptor(obj2, 'x').configurable");
5106 CHECK(!GetGlobalProperty(&context, "obj2")->
5119 CompileRun("Object.defineProperty(obj2, 'x',"
5143 CompileRun("var obj2 = {};");
5149 CHECK(GetGlobalProperty(&context, "obj2")->SetAccessor(
5155 ExpectString("obj2[239]", "239");
5157 ExpectString("obj2['239']", "239");
7646 v8::Handle<v8::Object> obj2 = templ2->GetFunction()->NewInstance();
7651 CHECK_EQ(2, type_switch->match(obj2));
7654 obj2));
9673 context->Global()->Set(v8_str("obj2"), instance);
9678 value = CompileRun("new obj2(28)");
10032 context->Global()->Set(v8_str("obj2"), instance);
10038 value = CompileRun("obj2(28)");
10042 CHECK_EQ("TypeError: Property 'obj2' of object #<Object> is not a function",
10047 value = CompileRun("obj2(28)");
15816 v8::Handle<v8::Object> obj2 = v8::Object::New();
15817 obj2->Set(v8_str("ee_test_field"), v8::Int32::New(256));
15818 obj2->Set(v8_str(""), v8::Int32::New(1503));
15820 obj2->SetIndexedPropertiesToExternalArrayData(array_data,
15823 context->Global()->Set(v8_str("ext_array"), obj2);
15830 v8::Handle<v8::Object> obj2 = v8::Object::New();
15831 obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256));
15833 obj2->SetIndexedPropertiesToExternalArrayData(array_data,
15836 obj2->Set(v8_str(""), v8::Int32::New(1503));
15837 context->Global()->Set(v8_str("ext_array"), obj2);
15844 v8::Handle<v8::Object> obj2 = v8::Object::New();
15845 obj2->Set(v8_str("ee_test_field_2"), v8::Int32::New(256));
15848 obj2->SetIndexedPropertiesToExternalArrayData(array_data,
15851 context->Global()->Set(v8_str("ext_array"), obj2);
15858 v8::Handle<v8::Object> obj2 = v8::Object::New();
15860 obj2->Set(v8_str("ee_test_field3"), v8::Int32::New(256));
15863 context->Global()->Set(v8_str("ext_array"), obj2);
15889 v8::Handle<v8::Object> obj2 = v8::Object::New();
15890 obj2->Set(v8_str("ee_test_field4"), v8::Int32::New(256));
15891 context->Global()->Set(v8_str("ext_array"), obj2);