• Home
  • Raw
  • Download

Lines Matching refs:FromJust

116             .FromJust());  in IncrementingSignatureCallback()
120 .FromJust()); in IncrementingSignatureCallback()
126 .FromJust()); in IncrementingSignatureCallback()
215 .FromJust()); in TestSignature()
251 .FromJust()); in THREADED_TEST()
255 .FromJust()); in THREADED_TEST()
258 .FromJust()); in THREADED_TEST()
261 .FromJust()); in THREADED_TEST()
328 CHECK(obj->Set(env.local(), v8_str("foo"), bar_str).FromJust()); in THREADED_TEST()
333 CHECK(bar_str->Equals(env.local(), foo_after).FromJust()); in THREADED_TEST()
344 CHECK(obj->Set(env.local(), 1, bar_str).FromJust()); in THREADED_TEST()
348 CHECK(bar_str->Equals(env.local(), after).FromJust()); in THREADED_TEST()
353 .FromJust()); in THREADED_TEST()
356 .FromJust()); in THREADED_TEST()
442 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
480 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
514 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
540 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
808 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in TEST()
831 CHECK_EQ(7, value->Int32Value(env.local()).FromJust()); in TEST()
891 CHECK_EQ(68, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
903 CHECK(global->Set(env.local(), v8_str("pi"), v8_num(3.1415926)).FromJust()); in THREADED_TEST()
905 CHECK_EQ(3.1415926, pi->NumberValue(env.local()).FromJust()); in THREADED_TEST()
934 .FromJust()); in construct_callback()
938 .FromJust()); in construct_callback()
965 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in TestFunctionTemplateInitializer()
981 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in TestFunctionTemplateInitializer()
1001 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in TestFunctionTemplateAccessor()
1004 CHECK(v8_str("[object funky]")->Equals(env.local(), result).FromJust()); in TestFunctionTemplateAccessor()
1046 .FromJust()); in TestSimpleCallback()
1157 .FromJust()); in TestFastReturnValues()
1180 value->Int32Value(env.local()).FromJust()); in THREADED_PROFILED_TEST()
1186 value->Uint32Value(env.local()).FromJust()); in THREADED_PROFILED_TEST()
1243 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in THREADED_TEST()
1252 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in THREADED_TEST()
1261 CHECK(env->Global()->Set(env.local(), v8_str("obj"), fun).FromJust()); in THREADED_TEST()
1288 .FromJust()); in TestExternalPointerWrapping()
1289 CHECK(env->Global()->Set(env.local(), v8_str("obj"), obj).FromJust()); in TestExternalPointerWrapping()
1296 .FromJust()); in TestExternalPointerWrapping()
1373 .FromJust()); in THREADED_TEST()
1375 .FromJust()); in THREADED_TEST()
1380 .FromJust()); in THREADED_TEST()
1388 .FromJust()); in THREADED_TEST()
1392 .FromJust()); in THREADED_TEST()
1403 .FromJust()); in THREADED_TEST()
1407 .FromJust()); in THREADED_TEST()
1411 .FromJust()); in THREADED_TEST()
1659 CHECK(!str_obj->Delete(context.local(), 2).FromJust()); in TEST()
1660 CHECK(!str_obj->Delete(context.local(), v8_num(2)).FromJust()); in TEST()
1719 CHECK(!primitive_false->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1726 CHECK(false_value->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1733 CHECK(false_boolean_object->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1741 CHECK(primitive_true->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1748 CHECK(true_value->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1755 CHECK(true_boolean_object->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1767 CHECK_EQ(PI, pi_obj->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1776 CHECK_EQ(3.1415926, str->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1778 CHECK_EQ(1.0, t->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1780 CHECK_EQ(0.0, f->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1789 CHECK_EQ(3.0, date->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1793 .FromJust()); in THREADED_TEST()
1798 .FromJust()); in THREADED_TEST()
1811 CHECK(!u->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1813 CHECK(!n->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1815 CHECK(!str1->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1817 CHECK(str2->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1818 CHECK(!v8::Number::New(isolate, 0)->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1819 CHECK(v8::Number::New(isolate, -1)->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1820 CHECK(v8::Number::New(isolate, 1)->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1821 CHECK(v8::Number::New(isolate, 42)->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1826 .FromJust()); in THREADED_TEST()
1856 CHECK_EQ(13.4, result->NumberValue(env.local()).FromJust()); in THREADED_TEST()
1871 .FromJust()); in THREADED_TEST()
1883 CHECK(env->Global()->Set(env.local(), v8_str("p"), instance1).FromJust()); in THREADED_TEST()
1884 CHECK(CompileRun("(p.x == 10)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1885 CHECK(CompileRun("(p.y == 13)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1886 CHECK(CompileRun("(p.foo() == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1887 CHECK(CompileRun("(p.foo == acc)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1899 CHECK(env->Global()->Set(env.local(), v8_str("q"), instance2).FromJust()); in THREADED_TEST()
1900 CHECK(CompileRun("(q.nirk == 123)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1901 CHECK(CompileRun("(q.a == 12)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1902 CHECK(CompileRun("(q.b.x == 10)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1903 CHECK(CompileRun("(q.b.y == 13)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1904 CHECK(CompileRun("(q.b.foo() == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1905 CHECK(CompileRun("(q.b.foo === acc)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1906 CHECK(CompileRun("(q.b !== p)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1907 CHECK(CompileRun("(q.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1908 CHECK(CompileRun("(q.bar() == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1909 CHECK(CompileRun("(q.bar == acc)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1912 CHECK(env->Global()->Set(env.local(), v8_str("q2"), instance2).FromJust()); in THREADED_TEST()
1913 CHECK(CompileRun("(q2.nirk == 123)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1914 CHECK(CompileRun("(q2.a == 12)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1915 CHECK(CompileRun("(q2.b.x == 10)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1916 CHECK(CompileRun("(q2.b.y == 13)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1917 CHECK(CompileRun("(q2.b.foo() == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1918 CHECK(CompileRun("(q2.b.foo === acc)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1919 CHECK(CompileRun("(q2.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1920 CHECK(CompileRun("(q2.bar() == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1921 CHECK(CompileRun("(q2.bar === acc)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1923 CHECK(CompileRun("(q.b !== q2.b)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
1926 .FromJust()); in THREADED_TEST()
1930 .FromJust()); in THREADED_TEST()
1934 .FromJust()); in THREADED_TEST()
1942 CHECK_EQ(0, CompileRun("undefined")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2015 .FromJust()); in TestObjectTemplateInheritedWithPrototype()
2026 CHECK(env->Global()->Set(env.local(), v8_str("o"), instance).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2028 CHECK_EQ(10, CompileRun("o.x")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2029 CHECK_EQ(13, CompileRun("o.y")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2031 CHECK_EQ(113, CompileRun("o.a")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2032 CHECK_EQ(900, CompileRun("o.nirk")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2033 CHECK_EQ(153, CompileRun("o.b")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2034 CHECK_EQ(713, CompileRun("o.c")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2035 CHECK_EQ(560, CompileRun("o.rino")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2036 CHECK_EQ(753, CompileRun("o.d")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithPrototype()
2088 .FromJust()); in TestObjectTemplateInheritedWithoutInstanceTemplate()
2099 CHECK(env->Global()->Set(env.local(), v8_str("o"), instance).FromJust()); in TestObjectTemplateInheritedWithoutInstanceTemplate()
2101 CHECK_EQ(900, CompileRun("o.nirk")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithoutInstanceTemplate()
2102 CHECK_EQ(560, CompileRun("o.rino")->IntegerValue(env.local()).FromJust()); in TestObjectTemplateInheritedWithoutInstanceTemplate()
2142 CHECK(env->Global()->Set(env.local(), class_name, function_B).FromJust()); in THREADED_TEST()
2148 CHECK(b_proto->Equals(env.local(), c_proto->GetPrototype()).FromJust()); in THREADED_TEST()
2152 CHECK(c_proto->Equals(env.local(), instance->GetPrototype()).FromJust()); in THREADED_TEST()
2155 CHECK(env->Global()->Set(env.local(), v8_str("o"), instance).FromJust()); in THREADED_TEST()
2157 CHECK_EQ(900, CompileRun("o.nirk")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2158 CHECK_EQ(560, CompileRun("o.rino")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2187 CHECK(env->Global()->Set(env.local(), class_name, function_B).FromJust()); in THREADED_TEST()
2195 CHECK(c_proto->Equals(env.local(), instance->GetPrototype()).FromJust()); in THREADED_TEST()
2198 CHECK(env->Global()->Set(env.local(), v8_str("o"), instance).FromJust()); in THREADED_TEST()
2200 CHECK_EQ(42, CompileRun("o.nirk")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2201 CHECK_EQ(42, CompileRun("o.rino")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2242 .FromJust()); in THREADED_TEST()
2246 .FromJust()); in THREADED_TEST()
2250 .FromJust()); in THREADED_TEST()
2255 .FromJust()); in THREADED_TEST()
2258 .FromJust()); in THREADED_TEST()
2264 .FromJust()); in THREADED_TEST()
2268 CompileRun("s.knurd == undefined")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2271 .FromJust()); in THREADED_TEST()
2274 .FromJust()); in THREADED_TEST()
2281 .FromJust()); in THREADED_TEST()
2283 CompileRun("obj.flabby()")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2284 CHECK(CompileRun("'flabby' in obj")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2285 CHECK_EQ(15.2, CompileRun("obj.knurd")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2286 CHECK(CompileRun("'knurd' in obj")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2287 CHECK_EQ(20.1, CompileRun("obj.v1")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2294 .FromJust()); in THREADED_TEST()
2296 CompileRun("obj2.flabby()")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2297 CHECK(CompileRun("'flabby' in obj2")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2298 CHECK_EQ(15.2, CompileRun("obj2.knurd")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2299 CHECK(CompileRun("'knurd' in obj2")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
2300 CHECK_EQ(10.1, CompileRun("obj2.v2")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2356 .FromJust()); in THREADED_TEST()
2369 CHECK_EQ(15.2, CompileRun("o.knurd1")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2370 CHECK_EQ(15.2, CompileRun("o.knurd2")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2371 CHECK_EQ(15.2, CompileRun("o.knurd3")->NumberValue(env.local()).FromJust()); in THREADED_TEST()
2373 CHECK_EQ(900, CompileRun("o.nirk1")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2374 CHECK_EQ(900, CompileRun("o.nirk2")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2375 CHECK_EQ(900, CompileRun("o.nirk3")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2377 CHECK_EQ(560, CompileRun("o.rino1")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2378 CHECK_EQ(560, CompileRun("o.rino2")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2379 CHECK_EQ(560, CompileRun("o.rino3")->IntegerValue(env.local()).FromJust()); in THREADED_TEST()
2389 .FromJust()); in THREADED_TEST()
2393 .FromJust()); in THREADED_TEST()
2413 .FromJust()); in SimpleAccessorSetter()
2486 .FromJust(); in CallScriptRecursivelyCall()
2491 .FromJust()); in CallScriptRecursivelyCall()
2505 .FromJust(); in CallFunctionRecursivelyCall()
2513 .FromJust()); in CallFunctionRecursivelyCall()
2536 .FromJust()); in THREADED_TEST()
2543 .FromJust()); in THREADED_TEST()
2576 .FromJust()); in THREADED_TEST()
2579 CHECK(v8_str("otto")->Equals(env.local(), otto).FromJust()); in THREADED_TEST()
2582 CHECK(v8_str("netto")->Equals(env.local(), netto).FromJust()); in THREADED_TEST()
2595 .FromJust()); in THREADED_TEST()
2616 CHECK_EQ(17, obj->GetInternalField(0)->Int32Value(env.local()).FromJust()); in THREADED_TEST()
2631 CHECK_EQ(17, global->GetInternalField(0)->Int32Value(env.local()).FromJust()); in THREADED_TEST()
2640 CHECK(global->Set(env.local(), 0, v8_str("value")).FromJust()); in THREADED_TEST()
2641 CHECK(global->HasRealIndexedProperty(env.local(), 0).FromJust()); in THREADED_TEST()
2800 .FromJust()); in GlobalProxyIdentityHash()
2893 CHECK(sym1->Equals(env.local(), sym1).FromJust()); in THREADED_TEST()
2894 CHECK(sym2->Equals(env.local(), sym2).FromJust()); in THREADED_TEST()
2895 CHECK(!sym1->Equals(env.local(), sym2).FromJust()); in THREADED_TEST()
2896 CHECK(!sym2->Equals(env.local(), sym1).FromJust()); in THREADED_TEST()
2902 CHECK(sym2->Name()->Equals(env.local(), v8_str("my-symbol")).FromJust()); in THREADED_TEST()
2906 CHECK(sym_val->Equals(env.local(), sym2).FromJust()); in THREADED_TEST()
2908 CHECK(v8::Symbol::Cast(*sym_val)->Equals(env.local(), sym2).FromJust()); in THREADED_TEST()
2914 CHECK(sym_obj->Equals(env.local(), sym2).FromJust()); in THREADED_TEST()
2918 .FromJust()); in THREADED_TEST()
2922 .FromJust()); in THREADED_TEST()
2925 CHECK(obj->Delete(env.local(), sym1).FromJust()); in THREADED_TEST()
2926 CHECK(!obj->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
2929 obj->Set(env.local(), sym1, v8::Integer::New(isolate, 1503)).FromJust()); in THREADED_TEST()
2930 CHECK(obj->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
2934 .FromJust()); in THREADED_TEST()
2936 obj->Set(env.local(), sym1, v8::Integer::New(isolate, 2002)).FromJust()); in THREADED_TEST()
2937 CHECK(obj->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
2941 .FromJust()); in THREADED_TEST()
2942 CHECK_EQ(v8::None, obj->GetPropertyAttributes(env.local(), sym1).FromJust()); in THREADED_TEST()
2949 .FromJust()); in THREADED_TEST()
2959 .FromJust()); in THREADED_TEST()
2961 CHECK(obj->Set(env.local(), sym3, v8::Integer::New(isolate, 42)).FromJust()); in THREADED_TEST()
2965 .FromJust()); in THREADED_TEST()
2969 .FromJust()); in THREADED_TEST()
2974 obj->Set(env.local(), sym2, v8::Integer::New(isolate, 2008)).FromJust()); in THREADED_TEST()
2978 .FromJust()); in THREADED_TEST()
2982 .FromJust()); in THREADED_TEST()
2986 .FromJust()); in THREADED_TEST()
2990 CHECK(obj->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
2991 CHECK(obj->Has(env.local(), sym2).FromJust()); in THREADED_TEST()
2992 CHECK(obj->Has(env.local(), sym3).FromJust()); in THREADED_TEST()
2993 CHECK(obj->Has(env.local(), v8_str("accessor_sym3")).FromJust()); in THREADED_TEST()
2994 CHECK(obj->Delete(env.local(), sym2).FromJust()); in THREADED_TEST()
2995 CHECK(obj->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
2996 CHECK(!obj->Has(env.local(), sym2).FromJust()); in THREADED_TEST()
2997 CHECK(obj->Has(env.local(), sym3).FromJust()); in THREADED_TEST()
2998 CHECK(obj->Has(env.local(), v8_str("accessor_sym3")).FromJust()); in THREADED_TEST()
3002 .FromJust()); in THREADED_TEST()
3006 .FromJust()); in THREADED_TEST()
3010 .FromJust()); in THREADED_TEST()
3016 CHECK(child->SetPrototype(env.local(), obj).FromJust()); in THREADED_TEST()
3017 CHECK(child->Has(env.local(), sym1).FromJust()); in THREADED_TEST()
3021 .FromJust()); in THREADED_TEST()
3025 .FromJust()); in THREADED_TEST()
3029 .FromJust()); in THREADED_TEST()
3046 CHECK(new_instance->Has(env.local(), name).FromJust()); in THREADED_TEST()
3072 .FromJust()); in THREADED_TEST()
3075 proxy->DeletePrivate(env.local(), priv1).FromJust(); in THREADED_TEST()
3076 CHECK(!proxy->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3079 .FromJust()); in THREADED_TEST()
3080 CHECK(proxy->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3084 .FromJust()); in THREADED_TEST()
3086 .FromJust()); in THREADED_TEST()
3087 CHECK(proxy->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3091 .FromJust()); in THREADED_TEST()
3101 .FromJust()); in THREADED_TEST()
3112 .FromJust()); in THREADED_TEST()
3116 .FromJust()); in THREADED_TEST()
3120 .FromJust()); in THREADED_TEST()
3124 .FromJust()); in THREADED_TEST()
3128 CHECK(proxy->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3129 CHECK(proxy->HasPrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3130 CHECK(proxy->DeletePrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3131 CHECK(proxy->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3132 CHECK(!proxy->HasPrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3136 .FromJust()); in THREADED_TEST()
3142 CHECK(child->SetPrototype(env.local(), proxy).FromJust()); in THREADED_TEST()
3143 CHECK(!child->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3166 .FromJust()); in THREADED_TEST()
3169 obj->DeletePrivate(env.local(), priv1).FromJust(); in THREADED_TEST()
3170 CHECK(!obj->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3173 .FromJust()); in THREADED_TEST()
3174 CHECK(obj->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3178 .FromJust()); in THREADED_TEST()
3180 .FromJust()); in THREADED_TEST()
3181 CHECK(obj->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3185 .FromJust()); in THREADED_TEST()
3195 .FromJust()); in THREADED_TEST()
3206 .FromJust()); in THREADED_TEST()
3210 .FromJust()); in THREADED_TEST()
3214 .FromJust()); in THREADED_TEST()
3218 .FromJust()); in THREADED_TEST()
3222 CHECK(obj->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3223 CHECK(obj->HasPrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3224 CHECK(obj->DeletePrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3225 CHECK(obj->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3226 CHECK(!obj->HasPrivate(env.local(), priv2).FromJust()); in THREADED_TEST()
3230 .FromJust()); in THREADED_TEST()
3236 CHECK(child->SetPrototype(env.local(), obj).FromJust()); in THREADED_TEST()
3237 CHECK(!child->HasPrivate(env.local(), priv1).FromJust()); in THREADED_TEST()
3303 .FromJust()); in THREADED_TEST()
3306 CHECK(obj->HasPrivate(env.local(), glob2).FromJust()); in THREADED_TEST()
3309 CHECK(!obj->HasPrivate(env.local(), priv).FromJust()); in THREADED_TEST()
3314 CHECK(!obj->Has(env.local(), intern).FromJust()); in THREADED_TEST()
3336 .FromJust()); in CheckInternalFieldsAreZero()
3358 CHECK(env->Global()->Set(env.local(), v8_str("ab"), ab).FromJust()); in THREADED_TEST()
3361 CHECK_EQ(1024, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3368 CHECK_EQ(1024, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3374 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3397 CHECK_EQ(2, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3399 CHECK_EQ(0xAA, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3401 CHECK_EQ(0xFF, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3406 CHECK_EQ(0xBB, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3408 CHECK_EQ(0xFF, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3417 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3434 CHECK(env->Global()->Set(env.local(), v8_str("ab3"), ab3).FromJust()); in THREADED_TEST()
3437 CHECK_EQ(100, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3444 CHECK_EQ(100, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3450 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3634 CHECK(env->Global()->Set(env.local(), v8_str("ab"), ab).FromJust()); in THREADED_TEST()
3637 CHECK_EQ(1024, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3644 CHECK_EQ(1024, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3650 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3674 CHECK_EQ(2, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3676 CHECK_EQ(0xAA, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3678 CHECK_EQ(0xFF, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3683 CHECK_EQ(0xBB, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3685 CHECK_EQ(0xFF, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3694 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3712 CHECK(env->Global()->Set(env.local(), v8_str("ab3"), ab3).FromJust()); in THREADED_TEST()
3715 CHECK_EQ(100, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3722 CHECK_EQ(100, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3728 CHECK_EQ(0xDD, result->Int32Value(env.local()).FromJust()); in THREADED_TEST()
3746 obj->DeletePrivate(env.local(), key).FromJust(); in THREADED_TEST()
3749 .FromJust()); in THREADED_TEST()
3753 .FromJust()); in THREADED_TEST()
3755 .FromJust()); in THREADED_TEST()
3759 .FromJust()); in THREADED_TEST()
3764 CHECK(!obj->Has(env.local(), empty).FromJust()); in THREADED_TEST()
3768 .FromJust()); in THREADED_TEST()
3773 .FromJust()); in THREADED_TEST()
3775 obj->Set(env.local(), empty, v8::Integer::New(isolate, 2003)).FromJust()); in THREADED_TEST()
3779 .FromJust()); in THREADED_TEST()
3783 .FromJust()); in THREADED_TEST()
3790 .FromJust()); in THREADED_TEST()
3794 .FromJust()); in THREADED_TEST()
3798 .FromJust()); in THREADED_TEST()
3802 .FromJust()); in THREADED_TEST()
3803 CHECK(obj->Delete(env.local(), prop_name).FromJust()); in THREADED_TEST()
3807 .FromJust()); in THREADED_TEST()
3812 .FromJust()); in THREADED_TEST()
3813 CHECK(obj->DeletePrivate(env.local(), key).FromJust()); in THREADED_TEST()
3814 CHECK(!obj->HasPrivate(env.local(), key).FromJust()); in THREADED_TEST()
3837 CHECK(!obj->HasPrivate(env.local(), key).FromJust()); in THREADED_TEST()
3843 .FromJust()); in THREADED_TEST()
3848 .FromJust()); in THREADED_TEST()
3857 CHECK(env->Global()->Set(env.local(), v8_str("ext"), ext).FromJust()); in THREADED_TEST()
4226 CHECK(expected->Equals(env.local(), obj).FromJust()); in TestGlobalValueMap()
4229 CHECK(expected->Equals(env.local(), ref.NewLocal(isolate)).FromJust()); in TestGlobalValueMap()
4246 CHECK(expected2->Equals(env.local(), ref.NewLocal(isolate)).FromJust()); in TestGlobalValueMap()
4311 CHECK(obj1->Equals(env.local(), vector.Get(0)).FromJust()); in TEST()
4312 CHECK(obj1->Equals(env.local(), vector.Get(2)).FromJust()); in TEST()
4313 CHECK(obj1->Equals(env.local(), vector.Get(4)).FromJust()); in TEST()
4314 CHECK(obj2->Equals(env.local(), vector.Get(1)).FromJust()); in TEST()
4466 .FromJust()); in THREADED_TEST()
4469 .FromJust()); in THREADED_TEST()
4571 .FromJust()); in THREADED_TEST()
4574 .FromJust()); in THREADED_TEST()
4777 .FromJust()); in TEST()
4787 .FromJust()); in check_message_0()
4791 .FromJust()); in check_message_0()
4815 data->Int32Value(CcTest::isolate()->GetCurrentContext()).FromJust()); in check_message_1()
4846 .FromJust()); in check_message_2()
4863 .FromJust(); in TEST()
4866 .FromJust()); in TEST()
4883 .FromJust()); in check_message_3()
4887 .FromJust()); in check_message_3()
4919 .FromJust()); in check_message_4()
4950 .FromJust()); in check_message_5a()
4961 .FromJust()); in check_message_5b()
5012 CHECK(value->Equals(env.local(), weak_map->Get(local1)).FromJust()); in TEST()
5037 CHECK(value->Equals(env.local(), weak_map->Get(local1)).FromJust()); in TEST()
5038 CHECK(value->Equals(env.local(), weak_map->Get(obj1)).FromJust()); in TEST()
5039 CHECK(value->Equals(env.local(), weak_map->Get(obj2)).FromJust()); in TEST()
5040 CHECK(value->Equals(env.local(), weak_map->Get(sym1)).FromJust()); in TEST()
5045 CHECK(value->Equals(env.local(), weak_map->Get(local1)).FromJust()); in TEST()
5048 .FromJust()); in TEST()
5051 .FromJust()); in TEST()
5054 .FromJust()); in TEST()
5071 CHECK(value->Equals(env.local(), weak_map->Get(local1)).FromJust()); in TEST()
5084 .FromJust()); in THREADED_TEST()
5087 .FromJust()); in THREADED_TEST()
5090 .FromJust()); in THREADED_TEST()
5093 .FromJust()); in THREADED_TEST()
5095 CHECK_EQ(14, foo->Int32Value(context.local()).FromJust()); in THREADED_TEST()
5097 CHECK_EQ(92, twelve->Int32Value(context.local()).FromJust()); in THREADED_TEST()
5099 CHECK_EQ(32, sixteen->Int32Value(context.local()).FromJust()); in THREADED_TEST()
5101 CHECK_EQ(56, thirteen->Int32Value(context.local()).FromJust()); in THREADED_TEST()
5106 .FromJust()); in THREADED_TEST()
5111 .FromJust()); in THREADED_TEST()
5116 .FromJust()); in THREADED_TEST()
5121 .FromJust()); in THREADED_TEST()
5126 .FromJust()); in THREADED_TEST()
5131 .FromJust()); in THREADED_TEST()
5136 .FromJust()); in THREADED_TEST()
5141 .FromJust()); in THREADED_TEST()
5146 .FromJust()); in THREADED_TEST()
5155 CHECK(context->Global()->Set(context.local(), prop, v8_num(7)).FromJust()); in THREADED_TEST()
5158 .FromJust()); in THREADED_TEST()
5163 .FromJust(); in THREADED_TEST()
5168 .FromJust()); in THREADED_TEST()
5171 .FromJust()); in THREADED_TEST()
5177 .FromJust()); in THREADED_TEST()
5178 CHECK(context->Global()->Set(context.local(), prop, v8_num(10)).FromJust()); in THREADED_TEST()
5183 .FromJust()); in THREADED_TEST()
5188 .FromJust(); in THREADED_TEST()
5193 .FromJust()); in THREADED_TEST()
5199 .FromJust()); in THREADED_TEST()
5202 .FromJust()); in THREADED_TEST()
5207 .FromJust(); in THREADED_TEST()
5210 .FromJust()); in THREADED_TEST()
5215 .FromJust()); in THREADED_TEST()
5219 .FromJust()); in THREADED_TEST()
5240 CHECK(!array->Has(context.local(), 0).FromJust()); in THREADED_TEST()
5242 CHECK(!array->Has(context.local(), 100).FromJust()); in THREADED_TEST()
5243 CHECK(array->Set(context.local(), 2, v8_num(7)).FromJust()); in THREADED_TEST()
5245 CHECK(!array->Has(context.local(), 0).FromJust()); in THREADED_TEST()
5246 CHECK(!array->Has(context.local(), 1).FromJust()); in THREADED_TEST()
5247 CHECK(array->Has(context.local(), 2).FromJust()); in THREADED_TEST()
5251 .FromJust()); in THREADED_TEST()
5258 .FromJust()); in THREADED_TEST()
5262 .FromJust()); in THREADED_TEST()
5266 .FromJust()); in THREADED_TEST()
5280 .FromJust()); in HandleF()
5303 .FromJust()); in THREADED_TEST()
5311 .FromJust()); in THREADED_TEST()
5315 .FromJust()); in THREADED_TEST()
5323 .FromJust()); in THREADED_TEST()
5327 .FromJust()); in THREADED_TEST()
5331 .FromJust()); in THREADED_TEST()
5339 .FromJust()); in THREADED_TEST()
5343 .FromJust()); in THREADED_TEST()
5347 .FromJust()); in THREADED_TEST()
5351 .FromJust()); in THREADED_TEST()
5397 .FromJust()); in THREADED_TEST()
5406 .FromJust()); in THREADED_TEST()
5410 .FromJust()); in THREADED_TEST()
5419 .FromJust()); in THREADED_TEST()
5423 .FromJust()); in THREADED_TEST()
5427 .FromJust()); in THREADED_TEST()
5437 .FromJust()); in THREADED_TEST()
5441 .FromJust()); in THREADED_TEST()
5445 .FromJust()); in THREADED_TEST()
5449 .FromJust()); in THREADED_TEST()
5525 .FromJust()); in THREADED_TEST()
5534 .FromJust()); in THREADED_TEST()
5538 .FromJust()); in THREADED_TEST()
5547 .FromJust()); in THREADED_TEST()
5551 .FromJust()); in THREADED_TEST()
5555 .FromJust()); in THREADED_TEST()
5565 .FromJust()); in THREADED_TEST()
5569 .FromJust()); in THREADED_TEST()
5573 .FromJust()); in THREADED_TEST()
5577 .FromJust()); in THREADED_TEST()
5786 CHECK(thrown->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
5834 .FromJust()); in check_custom_error_tostring()
5863 .FromJust()); in check_custom_error_message()
5916 .FromJust()); in check_custom_rethrowing_message()
6011 int count = args[0]->Int32Value(context).FromJust(); in CThrowCountDown()
6012 int cInterval = args[2]->Int32Value(context).FromJust(); in CThrowCountDown()
6026 int expected = args[3]->Int32Value(context).FromJust(); in CThrowCountDown()
6050 bool equality = args[0]->BooleanValue(context).FromJust(); in JSCheck()
6051 int count = args[1]->Int32Value(context).FromJust(); in JSCheck()
6052 int expected = args[2]->Int32Value(context).FromJust(); in JSCheck()
6190 .FromJust()); in THREADED_TEST()
6197 .FromJust()); in THREADED_TEST()
6214 CHECK_EQ(10, try_catch.Exception()->Int32Value(context.local()).FromJust()); in THREADED_TEST()
6219 CHECK_EQ(0, try_catch.Exception()->Int32Value(context.local()).FromJust()); in THREADED_TEST()
6258 .FromJust()); in THREADED_TEST()
6328 .FromJust()); in TryCatchMixedNestingCheck()
6330 .FromJust()); in TryCatchMixedNestingCheck()
6416 CHECK(v8_str("a")->Equals(context.local(), v8_str("a")).FromJust()); in THREADED_TEST()
6417 CHECK(!v8_str("a")->Equals(context.local(), v8_str("b")).FromJust()); in THREADED_TEST()
6419 CHECK(v8_str("a")->Equals(context.local(), v8_str("a")).FromJust()); in THREADED_TEST()
6420 CHECK(!v8_str("a")->Equals(context.local(), v8_str("b")).FromJust()); in THREADED_TEST()
6421 CHECK(v8_num(1)->Equals(context.local(), v8_num(1)).FromJust()); in THREADED_TEST()
6422 CHECK(v8_num(1.00)->Equals(context.local(), v8_num(1)).FromJust()); in THREADED_TEST()
6423 CHECK(!v8_num(1)->Equals(context.local(), v8_num(2)).FromJust()); in THREADED_TEST()
6464 .FromJust()); in THREADED_TEST()
6468 .FromJust()); in THREADED_TEST()
6472 .FromJust()); in THREADED_TEST()
6476 .FromJust()); in THREADED_TEST()
6480 .FromJust()); in THREADED_TEST()
6484 .FromJust()); in THREADED_TEST()
6488 .FromJust()); in THREADED_TEST()
6491 .FromJust()); in THREADED_TEST()
6509 .FromJust()); in GetXValue()
6511 .FromJust()); in GetXValue()
6525 .FromJust()); in THREADED_TEST()
6529 CHECK(result->Equals(context.local(), v8_str("x")).FromJust()); in THREADED_TEST()
6543 .FromJust()); in THREADED_TEST()
6551 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), true); in THREADED_TEST()
6560 CHECK(result->Equals(context.local(), v8_num(42)).FromJust()); in THREADED_TEST()
6564 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), true); in THREADED_TEST()
6573 CHECK(result->Equals(context.local(), v8_num(43)).FromJust()); in THREADED_TEST()
6575 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), false); in THREADED_TEST()
6596 .FromJust()); in THREADED_TEST()
6604 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), true); in THREADED_TEST()
6612 CHECK(result->Equals(context.local(), v8_num(42)).FromJust()); in THREADED_TEST()
6615 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), true); in THREADED_TEST()
6623 CHECK(result->Equals(context.local(), v8_num(43)).FromJust()); in THREADED_TEST()
6626 CHECK_EQ(result->BooleanValue(context.local()).FromJust(), false); in THREADED_TEST()
6656 .FromJust()); in THREADED_TEST()
6665 .FromJust()); in THREADED_TEST()
6673 .FromJust()); in THREADED_TEST()
6701 .FromJust()); in THREADED_TEST()
6705 .FromJust()); in THREADED_TEST()
6749 .FromJust()); in THREADED_TEST()
6755 .FromJust()); in THREADED_TEST()
6759 .FromJust()); in THREADED_TEST()
6804 .FromJust()); in Get239Value()
6806 .FromJust()); in Get239Value()
6820 .FromJust()); in THREADED_TEST()
6826 .FromJust()); in THREADED_TEST()
6830 .FromJust()); in THREADED_TEST()
6845 CHECK(value->Equals(context, v8_num(4)).FromJust()); in SetXValue()
6846 CHECK(info.Data()->Equals(context, v8_str("donut")).FromJust()); in SetXValue()
6847 CHECK(name->Equals(context, v8_str("x")).FromJust()); in SetXValue()
6862 .FromJust()); in THREADED_TEST()
6870 .FromJust()); in THREADED_TEST()
6885 .FromJust()); in THREADED_TEST()
6893 .FromJust()); in THREADED_TEST()
6909 .FromJust()); in THREADED_TEST()
6931 .FromJust()); in THREADED_TEST()
6935 .FromJust()); in THREADED_TEST()
6942 .FromJust()); in THREADED_TEST()
6943 CHECK(!global0->Equals(context1.local(), global1).FromJust()); in THREADED_TEST()
6947 .FromJust()); in THREADED_TEST()
6951 .FromJust()); in THREADED_TEST()
6957 CHECK(global1->Equals(context2.local(), global2).FromJust()); in THREADED_TEST()
6961 .FromJust()); in THREADED_TEST()
6965 .FromJust()); in THREADED_TEST()
6988 CHECK(proto0->Set(env0.local(), v8_str("custom"), v8_num(1234)).FromJust()); in THREADED_TEST()
7003 CHECK(!proto1->Has(env1.local(), v8_str("custom")).FromJust()); in THREADED_TEST()
7026 .FromJust()); in THREADED_TEST()
7033 .FromJust()); in THREADED_TEST()
7050 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust()); in THREADED_TEST()
7098 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust()); in THREADED_TEST()
7148 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust()); in THREADED_TEST()
7158 .FromJust()); in THREADED_TEST()
7225 .FromJust()); in TEST()
7265 .FromJust()); in TEST()
7302 .FromJust()); in TEST()
7338 .FromJust()); in TEST()
7341 .FromJust()); in TEST()
7372 .FromJust()); in TEST()
7375 .FromJust()); in TEST()
7388 .FromJust()); in TEST()
7444 .FromJust()); in TEST()
7479 .FromJust()); in TEST()
7519 .FromJust()); in CheckDependencies()
7553 .FromJust()); in THREADED_TEST()
7574 .FromJust()); in CallFun()
7594 if (name->Equals(isolate->GetCurrentContext(), v8_str("A")).FromJust()) { in GetNativeFunctionTemplate()
7598 .FromJust()) { in GetNativeFunctionTemplate()
7602 .FromJust()) { in GetNativeFunctionTemplate()
7620 .FromJust()); in THREADED_TEST()
7623 .FromJust()); in THREADED_TEST()
7626 .FromJust()); in THREADED_TEST()
7641 .FromJust()); in THREADED_TEST()
7644 .FromJust()); in THREADED_TEST()
7647 .FromJust()); in THREADED_TEST()
7686 .FromJust()); in MissingScriptInfoMessageListener()
7687 message->GetLineNumber(context).FromJust(); in MissingScriptInfoMessageListener()
7731 a->Set(context, v8_str("x"), b).FromJust(); in IndependentWeakHandle()
7732 b->Set(context, v8_str("x"), a).FromJust(); in IndependentWeakHandle()
7742 a->Set(context, v8_str("y"), big_array).FromJust(); in IndependentWeakHandle()
8011 CHECK(v8::Integer::New(isolate, 1)->Equals(context, args[0]).FromJust()); in ArgumentsTestCallback()
8012 CHECK(v8::Integer::New(isolate, 2)->Equals(context, args[1]).FromJust()); in ArgumentsTestCallback()
8013 CHECK(v8::Integer::New(isolate, 3)->Equals(context, args[2]).FromJust()); in ArgumentsTestCallback()
8014 CHECK(v8::Undefined(isolate)->Equals(context, args[3]).FromJust()); in ArgumentsTestCallback()
8048 .FromJust()); in PGetter()
8049 if (name->Equals(context, v8_str("p1")).FromJust()) { in PGetter()
8053 .FromJust()); in PGetter()
8054 } else if (name->Equals(context, v8_str("p2")).FromJust()) { in PGetter()
8058 .FromJust()); in PGetter()
8059 } else if (name->Equals(context, v8_str("p3")).FromJust()) { in PGetter()
8063 .FromJust()); in PGetter()
8064 } else if (name->Equals(context, v8_str("p4")).FromJust()) { in PGetter()
8068 .FromJust()); in PGetter()
8079 .FromJust()); in RunHolderTest()
8101 .FromJust()); in PGetter2()
8102 if (name->Equals(context, v8_str("p1")).FromJust()) { in PGetter2()
8106 .FromJust()); in PGetter2()
8107 } else if (name->Equals(context, v8_str("p2")).FromJust()) { in PGetter2()
8111 .FromJust()); in PGetter2()
8112 } else if (name->Equals(context, v8_str("p3")).FromJust()) { in PGetter2()
8116 .FromJust()); in PGetter2()
8117 } else if (name->Equals(context, v8_str("p4")).FromJust()) { in PGetter2()
8121 .FromJust()); in PGetter2()
8160 .FromJust()); in THREADED_TEST()
8168 .FromJust()); in THREADED_TEST()
8170 context->Global()->Set(context.local(), v8_str("o2"), obj).FromJust()); in THREADED_TEST()
8172 CHECK(v8::True(isolate)->Equals(context.local(), value).FromJust()); in THREADED_TEST()
8173 CHECK(context->Global()->Set(context.local(), v8_str("o"), obj).FromJust()); in THREADED_TEST()
8745 index.ToLocalChecked()->Uint32Value(context.local()).FromJust()); in THREADED_TEST()
8756 index.ToLocalChecked()->Uint32Value(context.local()).FromJust()); in THREADED_TEST()
8761 index.ToLocalChecked()->Uint32Value(context.local()).FromJust()); in THREADED_TEST()
8783 .FromJust()); in THREADED_TEST()
8790 .FromJust()); in THREADED_TEST()
8797 .FromJust()); in THREADED_TEST()
8804 .FromJust()); in THREADED_TEST()
8811 .FromJust()); in THREADED_TEST()
8826 .FromJust()); in ThrowV8Exception()
8845 .FromJust()); in THREADED_TEST()
8861 .FromJust()); in THREADED_TEST()
8866 CHECK_EQ(2, message->GetLineNumber(context.local()).FromJust()); in THREADED_TEST()
8867 CHECK_EQ(2, message->GetStartColumn(context.local()).FromJust()); in THREADED_TEST()
8896 .FromJust()); in THREADED_TEST()
8900 CHECK_EQ(2, message->GetLineNumber(context.local()).FromJust()); in THREADED_TEST()
8901 CHECK_EQ(9, message->GetStartColumn(context.local()).FromJust()); in THREADED_TEST()
8938 if (this_obj->Has(context, name).FromJust()) in YSetter()
8939 this_obj->Delete(context, name).FromJust(); in YSetter()
8940 CHECK(this_obj->Set(context, name, value).FromJust()); in YSetter()
8954 .FromJust()); in THREADED_TEST()
8957 CHECK_EQ(12u, result->Uint32Value(context.local()).FromJust()); in THREADED_TEST()
9001 .FromJust()); in TEST()
9037 CHECK_EQ(3, message->GetLineNumber(context).FromJust()); in ExceptionInNativeScriptTestListener()
9055 .FromJust()); in TEST()
9147 CHECK_EQ(42, data->Int32Value(accessing_context).FromJust()); in SecurityTestCallback()
9166 CHECK(global0->Set(context0, v8_str("0"), v8_num(999)).FromJust()); in TEST()
9169 CHECK_EQ(111, foo0->Int32Value(context0).FromJust()); in TEST()
9171 CHECK_EQ(999, z0->Int32Value(context0).FromJust()); in TEST()
9180 global1->Set(context1, v8_str("othercontext"), global0).FromJust(); in TEST()
9189 CHECK_EQ(111, foo1->Int32Value(context0).FromJust()); in TEST()
9192 CHECK_EQ(999, z1->Int32Value(context1).FromJust()); in TEST()
9200 .FromJust()); in TEST()
9206 CHECK_EQ(333, foo2->Int32Value(context2.local()).FromJust()); in TEST()
9209 CHECK_EQ(888, z2->Int32Value(context2.local()).FromJust()); in TEST()
9275 CHECK(other->Global()->Set(other, v8_num(42), v8_num(87)).FromJust()); in THREADED_TEST()
9280 .FromJust()); in THREADED_TEST()
9285 .FromJust()); in THREADED_TEST()
9319 .FromJust()); in THREADED_TEST()
9326 .FromJust()); in THREADED_TEST()
9329 .FromJust()); in THREADED_TEST()
9365 .FromJust()); in TEST()
9376 .FromJust()); in TEST()
9394 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9395 CHECK(env2->Global()->Set(env2, v8_str("env1"), env1->Global()).FromJust()); in THREADED_TEST()
9410 CHECK_EQ(3, v->Int32Value(env1.local()).FromJust()); in THREADED_TEST()
9427 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9428 CHECK(env2->Global()->Set(env2, v8_str("env1"), env1->Global()).FromJust()); in THREADED_TEST()
9461 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9462 CHECK(env2->Global()->Set(env2, v8_str("env1"), env1->Global()).FromJust()); in THREADED_TEST()
9500 env1->Global()->Set(env1.local(), v8_str("prop"), v8_num(3)).FromJust()); in THREADED_TEST()
9501 CHECK(env2->Global()->Set(env2, v8_str("env1"), env1->Global()).FromJust()); in THREADED_TEST()
9546 .FromJust()); in TEST()
9552 .FromJust()); in TEST()
9564 CHECK(global2->Equals(env3, global3).FromJust()); in TEST()
9569 .FromJust()); in TEST()
9572 .FromJust()); in TEST()
9586 CHECK_EQ(1, r->Int32Value(env1.local()).FromJust()); in TEST()
9615 .FromJust()); in TEST()
9621 .FromJust()); in TEST()
9626 CHECK_EQ(42, result->Int32Value(env1.local()).FromJust()); in TEST()
9640 CHECK(global2->Equals(env1.local(), env3->Global()).FromJust()); in TEST()
9650 .FromJust()); in TEST()
9656 CHECK_EQ(24, result->Int32Value(env3).FromJust()); in TEST()
9696 .FromJust()); in TEST()
9700 CHECK(env2->Global()->Set(env2, v8_str("x"), v8_str("env2_x")).FromJust()); in TEST()
9707 .FromJust()); in TEST()
9710 .FromJust()); in TEST()
9713 .FromJust()); in TEST()
9717 .FromJust(); in TEST()
9725 CHECK(v8_str("env2_x")->Equals(env1.local(), result).FromJust()); in TEST()
9731 CHECK(v8_str("env2_x")->Equals(env1.local(), result).FromJust()); in TEST()
9739 CHECK(env2->Global()->Set(env2, v8_str("x"), v8_str("env3_x")).FromJust()); in TEST()
9740 CHECK(env2->Global()->Set(env2, v8_str("env1"), env1->Global()).FromJust()); in TEST()
9755 .FromJust()); in TEST()
9758 .FromJust()); in TEST()
9761 .FromJust()); in TEST()
9764 .FromJust()); in TEST()
9783 .FromJust()); in TEST()
9787 .FromJust()); in TEST()
9791 .FromJust()); in TEST()
9795 .FromJust()); in TEST()
9813 .FromJust()); in TEST()
9817 .FromJust()); in TEST()
9821 .FromJust()); in TEST()
9825 .FromJust()); in TEST()
9835 return context->Global()->Equals(context, accessed_object).FromJust() || in AccessBlocker()
9854 value->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust(); in EchoSetter()
9922 CHECK(global0->Set(context0, 239, v8_str("239")).FromJust()); in TEST()
9941 CHECK(global1->Set(context1, v8_str("other"), global0).FromJust()); in TEST()
10003 CHECK_EQ(3, value->Int32Value(context1).FromJust()); in TEST()
10008 CHECK_EQ(3, value->Int32Value(context1).FromJust()); in TEST()
10013 CHECK_EQ(3, value->Int32Value(context1).FromJust()); in TEST()
10043 .FromJust()); in TEST()
10083 CHECK(global1->Set(context1, v8_str("other"), global0).FromJust()); in TEST()
10088 .FromJust()); in TEST()
10091 .FromJust()); in TEST()
10160 CHECK(global1->Set(context1, v8_str("other"), global0).FromJust()); in THREADED_TEST()
10163 .FromJust()); in THREADED_TEST()
10175 CHECK(value->BooleanValue(context1).FromJust()); in THREADED_TEST()
10180 CHECK(value->BooleanValue(context1).FromJust()); in THREADED_TEST()
10196 .FromJust()); in TEST()
10245 CHECK(global->Set(context0, v8_str("accessible"), v8_num(11)).FromJust()); in THREADED_TEST()
10253 CHECK(global1->Set(context1, v8_str("other"), global).FromJust()); in THREADED_TEST()
10259 CHECK_EQ(10, value->Int32Value(context1).FromJust()); in THREADED_TEST()
10307 CHECK(global1->Set(context1, v8_str("obj"), object).FromJust()); in TEST()
10319 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10333 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10340 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10353 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10360 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10376 CHECK(value->BooleanValue(context1).FromJust()); in TEST()
10382 CHECK_EQ(1, value->Int32Value(context1).FromJust()); in TEST()
10424 CHECK(context->Global()->Set(context.local(), v8_str("i"), o).FromJust()); in THREADED_TEST()
10426 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10429 CHECK_EQ(12, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10477 CHECK_EQ(42, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10479 CHECK_EQ(12, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10481 CHECK_EQ(1, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10488 CHECK_EQ(42, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10490 CHECK_EQ(12, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10492 CHECK_EQ(1, value->Int32Value(env.local()).FromJust()); in THREADED_TEST()
10595 CHECK(env->Global()->Set(env.local(), v8_str("foo"), foo).FromJust()); in THREADED_TEST()
10668 .FromJust()); in THREADED_TEST()
10673 CHECK(!value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
10676 CHECK_EQ(12, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10679 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10685 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
10726 .FromJust()); in THREADED_TEST()
10727 CHECK(o0->Set(context.local(), v8_str("__proto__"), o1).FromJust()); in THREADED_TEST()
10731 .FromJust()); in THREADED_TEST()
10735 .FromJust()); in THREADED_TEST()
10736 CHECK(o0->Set(context.local(), v8_str("__proto__"), o2).FromJust()); in THREADED_TEST()
10740 .FromJust()); in THREADED_TEST()
10744 .FromJust()); in THREADED_TEST()
10748 .FromJust()); in THREADED_TEST()
10749 CHECK(o0->Set(context.local(), v8_str("__proto__"), o3).FromJust()); in THREADED_TEST()
10753 .FromJust()); in THREADED_TEST()
10757 .FromJust()); in THREADED_TEST()
10761 .FromJust()); in THREADED_TEST()
10765 .FromJust()); in THREADED_TEST()
10803 CHECK(o->Set(context.local(), v8_str("__proto__"), h).FromJust()); in THREADED_TEST()
10804 CHECK(h->Set(context.local(), v8_str("__proto__"), p).FromJust()); in THREADED_TEST()
10807 CHECK(o->Set(context.local(), v8_str("x"), v8_num(7)).FromJust()); in THREADED_TEST()
10811 .FromJust()); in THREADED_TEST()
10815 .FromJust()); in THREADED_TEST()
10819 CHECK(o->Set(context.local(), v8_str("y"), v8_num(6)).FromJust()); in THREADED_TEST()
10823 .FromJust()); in THREADED_TEST()
10829 CHECK(p->Set(context.local(), v8_str("z"), v8_num(8)).FromJust()); in THREADED_TEST()
10833 .FromJust()); in THREADED_TEST()
10837 .FromJust()); in THREADED_TEST()
10841 .FromJust()); in THREADED_TEST()
10842 CHECK(o->Set(context.local(), v8_str("z"), v8_num(9)).FromJust()); in THREADED_TEST()
10846 .FromJust()); in THREADED_TEST()
10850 .FromJust()); in THREADED_TEST()
10854 .FromJust()); in THREADED_TEST()
10871 CHECK(o->SetPrototype(context.local(), p).FromJust()); in THREADED_TEST()
10875 CHECK(o->Set(context.local(), v8_str("foo"), v8_num(42)).FromJust()); in THREADED_TEST()
10917 .FromJust()); in THREADED_TEST()
10918 CHECK(o0->SetPrototype(context.local(), o1).FromJust()); in THREADED_TEST()
10922 .FromJust()); in THREADED_TEST()
10926 .FromJust()); in THREADED_TEST()
10927 CHECK(o1->SetPrototype(context.local(), o2).FromJust()); in THREADED_TEST()
10931 .FromJust()); in THREADED_TEST()
10935 .FromJust()); in THREADED_TEST()
10939 .FromJust()); in THREADED_TEST()
10940 CHECK(o2->SetPrototype(context.local(), o3).FromJust()); in THREADED_TEST()
10944 .FromJust()); in THREADED_TEST()
10948 .FromJust()); in THREADED_TEST()
10952 .FromJust()); in THREADED_TEST()
10956 .FromJust()); in THREADED_TEST()
10964 CHECK(proto.As<v8::Object>()->Equals(context.local(), o3).FromJust()); in THREADED_TEST()
10969 CHECK(proto0.As<v8::Object>()->Equals(context.local(), o1).FromJust()); in THREADED_TEST()
10973 CHECK(proto1.As<v8::Object>()->Equals(context.local(), o2).FromJust()); in THREADED_TEST()
10977 CHECK(proto2.As<v8::Object>()->Equals(context.local(), o3).FromJust()); in THREADED_TEST()
11030 CHECK(o4->SetPrototype(context.local(), o3).FromJust()); in THREADED_TEST()
11031 CHECK(o3->SetPrototype(context.local(), o2).FromJust()); in THREADED_TEST()
11032 CHECK(o2->SetPrototype(context.local(), o1).FromJust()); in THREADED_TEST()
11036 CHECK(context->Global()->Set(context.local(), v8_str("obj"), o4).FromJust()); in THREADED_TEST()
11088 CHECK(o2->SetPrototype(context.local(), o1).FromJust()); in THREADED_TEST()
11092 CHECK(o1->Set(context.local(), sym, v8_num(3)).FromJust()); in THREADED_TEST()
11096 .FromJust(); in THREADED_TEST()
11100 CHECK(context->Global()->Set(context.local(), v8_str("obj"), o2).FromJust()); in THREADED_TEST()
11101 CHECK(context->Global()->Set(context.local(), v8_str("sym"), sym).FromJust()); in THREADED_TEST()
11127 .FromJust()); in THREADED_TEST()
11136 .FromJust()); in THREADED_TEST()
11139 CompileRun("func1.prototype.x")->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11142 .FromJust()); in THREADED_TEST()
11149 .FromJust()); in THREADED_TEST()
11158 .FromJust()); in THREADED_TEST()
11161 CompileRun("func2.prototype.x")->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11181 CHECK(o0->SetPrototype(context.local(), o1).FromJust()); in THREADED_TEST()
11191 .FromJust()); in THREADED_TEST()
11204 CHECK(context->Global()->Set(context.local(), v8_str("fun"), fun).FromJust()); in THREADED_TEST()
11207 .FromJust()); in THREADED_TEST()
11255 context->Global()->Set(context.local(), v8_str("Fun"), cons).FromJust()); in THREADED_TEST()
11260 CHECK(value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
11275 This->SetPrototype(context, proto).FromJust(); in ConstructorCallback()
11281 This->Set(context, v8_str("a"), args[0]).FromJust(); in ConstructorCallback()
11305 .FromJust()); in THREADED_TEST()
11314 CHECK_EQ(28, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11324 CHECK_EQ(28, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11351 CHECK_EQ(true, value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
11361 CHECK_EQ(true, value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
11391 .FromJust()); in THREADED_TEST()
11420 .FromJust()); in THREADED_TEST()
11448 .FromJust()); in THREADED_TEST()
11472 .FromJust()); in THREADED_TEST()
11499 context->Global()->Set(context.local(), v8_str("Fun"), cons).FromJust()); in THREADED_TEST()
11514 CHECK_EQ(0, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11539 .FromJust()); in THREADED_TEST()
11544 .FromJust()); in THREADED_TEST()
11549 .FromJust()); in THREADED_TEST()
11564 .FromJust()); in THREADED_TEST()
11582 .FromJust()); in THREADED_TEST()
11589 CHECK_EQ(1234, foo->Int32Value(other.local()).FromJust()); in THREADED_TEST()
11590 CHECK(!current->Global()->Has(current.local(), v8_str("foo")).FromJust()); in THREADED_TEST()
11600 .FromJust()); in THREADED_TEST()
11601 CHECK(!current->Global()->Has(current.local(), v8_str("na")).FromJust()); in THREADED_TEST()
11626 .FromJust()); in THREADED_TEST()
11631 .FromJust()); in THREADED_TEST()
11638 .FromJust()); in THREADED_TEST()
11682 CHECK(context1->Global()->Set(context1, v8_str("fun"), fun).FromJust()); in THREADED_TEST()
11684 CHECK_EQ(42, x_value->Int32Value(context1).FromJust()); in THREADED_TEST()
11688 CHECK_EQ(42, x_value->Int32Value(context1).FromJust()); in THREADED_TEST()
11705 .FromJust()); in THREADED_TEST()
11710 CHECK_EQ(42.0, value->NumberValue(current.local()).FromJust()); in THREADED_TEST()
11721 .FromJust())); in call_as_function()
11753 .FromJust()); in THREADED_TEST()
11760 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11764 CHECK_EQ(49, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11769 CHECK_EQ(45, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11775 CHECK_EQ(87, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11782 CHECK_EQ(99, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11787 CHECK_EQ(17, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11793 CHECK_EQ(-43, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11801 CHECK_EQ(28, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
11814 .FromJust()); in THREADED_TEST()
11850 .FromJust()); in THREADED_TEST()
12043 env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust()); in THREADED_TEST()
12138 .FromJust()); in FastApiCallback_TrivialSignature()
12141 .FromJust()); in FastApiCallback_TrivialSignature()
12143 args[0]->Int32Value(isolate->GetCurrentContext()).FromJust() + 1); in FastApiCallback_TrivialSignature()
12155 .FromJust()); in FastApiCallback_SimpleSignature()
12158 .FromJust()); in FastApiCallback_SimpleSignature()
12163 .FromJust()); in FastApiCallback_SimpleSignature()
12165 args[0]->Int32Value(isolate->GetCurrentContext()).FromJust() + 1); in FastApiCallback_SimpleSignature()
12203 .FromJust()); in THREADED_TEST()
12234 .FromJust()); in THREADED_TEST()
12244 CHECK(v8_str("ggggg")->Equals(context.local(), result).FromJust()); in THREADED_TEST()
12278 .FromJust()); in LoadICFastApi_DirectCall_GCMoveStub()
12288 .FromJust()); in LoadICFastApi_DirectCall_GCMoveStub()
12314 .FromJust()); in THREADED_TEST()
12321 CHECK(v8_str("ggggg")->Equals(context.local(), result).FromJust()); in THREADED_TEST()
12347 .FromJust()); in THREADED_PROFILED_TEST()
12357 .FromJust()); in THREADED_PROFILED_TEST()
12385 .FromJust()); in THREADED_PROFILED_TEST()
12398 .FromJust()); in THREADED_PROFILED_TEST()
12426 .FromJust()); in THREADED_PROFILED_TEST()
12444 .FromJust()); in THREADED_PROFILED_TEST()
12449 .FromJust()); in THREADED_PROFILED_TEST()
12477 .FromJust()); in THREADED_PROFILED_TEST()
12495 .FromJust()); in THREADED_PROFILED_TEST()
12500 .FromJust()); in THREADED_PROFILED_TEST()
12528 .FromJust()); in THREADED_PROFILED_TEST()
12550 .FromJust()); in THREADED_PROFILED_TEST()
12555 .FromJust()); in THREADED_PROFILED_TEST()
12583 .FromJust()); in THREADED_PROFILED_TEST()
12604 .FromJust()); in THREADED_PROFILED_TEST()
12609 .FromJust()); in THREADED_PROFILED_TEST()
12633 .FromJust()); in THREADED_PROFILED_TEST()
12644 .FromJust()); in THREADED_PROFILED_TEST()
12668 .FromJust()); in THREADED_PROFILED_TEST()
12682 .FromJust()); in THREADED_PROFILED_TEST()
12706 .FromJust()); in THREADED_PROFILED_TEST()
12724 .FromJust()); in THREADED_PROFILED_TEST()
12729 .FromJust()); in THREADED_PROFILED_TEST()
12753 .FromJust()); in THREADED_PROFILED_TEST()
12775 .FromJust()); in THREADED_PROFILED_TEST()
12780 .FromJust()); in THREADED_PROFILED_TEST()
12804 .FromJust()); in THREADED_PROFILED_TEST()
12825 .FromJust()); in THREADED_PROFILED_TEST()
12830 .FromJust()); in THREADED_PROFILED_TEST()
12856 CHECK(another->SetPrototype(context.local(), instance).FromJust()); in THREADED_TEST()
12981 context->Global()->Set(context.local(), v8_str("func"), func).FromJust()); in THREADED_TEST()
13064 .FromJust()); in THREADED_TEST()
13067 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
13069 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
13073 CHECK_EQ(1, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
13077 CHECK_EQ(42, value->Int32Value(context.local()).FromJust()); in THREADED_TEST()
13102 .FromJust()); in ShouldThrowOnErrorSetter()
13122 CHECK(global->Set(context.local(), v8_str("o"), instance).FromJust()); in THREADED_TEST()
13154 .FromJust()); in ShouldThrowOnErrorQuery()
13170 .FromJust()); in ShouldThrowOnErrorDeleter()
13179 CHECK(names->Set(isolate->GetCurrentContext(), names, v8_num(1)).FromJust()); in ShouldThrowOnErrorPropertyEnumerator()
13189 .FromJust()); in ShouldThrowOnErrorPropertyEnumerator()
13209 CHECK(global->Set(context.local(), v8_str("o"), instance).FromJust()); in THREADED_TEST()
13273 .FromJust()); in THREADED_TEST()
13275 CHECK(!value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
13277 CHECK(value->BooleanValue(context.local()).FromJust()); in THREADED_TEST()
13299 .FromJust()); in THREADED_TEST()
13343 value->Equals(context.local(), customized_tostring).FromJust()); in THREADED_TEST()
13348 value->Equals(context.local(), v8_str("[object MyClass]")).FromJust()); in THREADED_TEST()
13354 value->Equals(context.local(), v8_str("[object Object]")).FromJust()); in THREADED_TEST()
13363 value->Equals(context.local(), v8_str("[object Object]")).FromJust()); in THREADED_TEST()
13389 value->Equals(context.local(), customized_tostring).FromJust()); in TEST()
13394 value->Equals(context.local(), v8_str("[object MyClass]")).FromJust()); in TEST()
13400 value->Equals(context.local(), v8_str("[object Object]")).FromJust()); in TEST()
13408 value->Equals(context.local(), v8_str("[object Object]")).FromJust()); in TEST()
13418 .FromJust()); \ in TEST()
13424 .FromJust()); \ in TEST()
13457 .FromJust()); \ in TEST()
13463 .FromJust()); \ in TEST()
13490 .FromJust(); in TEST()
13502 .FromJust(); in TEST()
13509 value->Equals(context.local(), v8_str("[object Test]")).FromJust()); in TEST()
13521 value->Equals(context.local(), v8_str("[object Test]")).FromJust()); in TEST()
13547 value->Equals(context.local(), v8_str("[object Test]")).FromJust()); in TEST()
13577 .FromJust()); in THREADED_TEST()
13586 .FromJust()); in THREADED_TEST()
13595 .FromJust()); in THREADED_TEST()
13604 .FromJust()); in THREADED_TEST()
13628 .FromJust()); in THREADED_TEST()
13637 .FromJust()); in THREADED_TEST()
13854 CHECK(env->Global()->Set(env.local(), v8_str("throw_in_js"), fun).FromJust()); in TEST()
13866 .FromJust()); in TEST()
13879 CHECK(env->Global()->Set(env.local(), v8_str("throw_in_js"), fun).FromJust()); in TEST()
13891 .FromJust()); in TEST()
13920 .FromJust()); in THREADED_TEST()
13928 .FromJust()); in THREADED_TEST()
13939 .FromJust()); in THREADED_TEST()
13947 .FromJust()); in THREADED_TEST()
14068 .FromJust()); in TEST()
14481 .FromJust()); in RunLoopInNewEnv()
14922 CHECK_EQ(10 + line_offset, message->GetLineNumber(context).FromJust()); in CheckTryCatchSourceInfo()
14925 CHECK_EQ(2, message->GetStartColumn(context).FromJust()); in CheckTryCatchSourceInfo()
14926 CHECK_EQ(3, message->GetEndColumn(context).FromJust()); in CheckTryCatchSourceInfo()
14980 CHECK_EQ(1, message->GetLineNumber(context.local()).FromJust()); in THREADED_TEST()
14981 CHECK_EQ(0, message->GetStartColumn(context.local()).FromJust()); in THREADED_TEST()
14997 .FromJust()); in THREADED_TEST()
15001 .FromJust()); in THREADED_TEST()
15005 .FromJust()); in THREADED_TEST()
15026 .FromJust()); in THREADED_TEST()
15305 .FromJust()); in THREADED_TEST()
15314 .FromJust()); in THREADED_TEST()
15366 .FromJust()); in THREADED_TEST()
15367 context->Global()->Delete(context.local(), v8_str("tmp")).FromJust(); in THREADED_TEST()
15375 .FromJust()); in THREADED_TEST()
15376 context->Global()->Delete(context.local(), v8_str("tmp")).FromJust(); in THREADED_TEST()
15406 .FromJust()); in THREADED_TEST()
15409 CHECK_EQ(42, value->Int32Value(context1).FromJust()); in THREADED_TEST()
15430 obj->Set(env.local(), v8_str("gamma"), v8_str("cloneme")).FromJust(); in TEST()
15435 .FromJust()); in TEST()
15439 .FromJust()); in TEST()
15443 .FromJust()); in TEST()
15450 .FromJust()); in TEST()
15454 .FromJust()); in TEST()
15458 .FromJust()); in TEST()
15462 .FromJust()); in TEST()
15466 .FromJust()); in TEST()
15470 .FromJust()); in TEST()
15545 CHECK(env->Global()->Set(env.local(), v8_str("lhs"), lhs).FromJust()); in THREADED_TEST()
15546 CHECK(env->Global()->Set(env.local(), v8_str("rhs"), rhs).FromJust()); in THREADED_TEST()
15590 .FromJust()); in THREADED_TEST()
15595 .FromJust()); in THREADED_TEST()
15601 .FromJust()); in THREADED_TEST()
15691 env->Global()->Set(env.local(), v8_str("a"), string).FromJust(); in TEST()
15723 .FromJust(); in TEST()
15726 .FromJust(); in TEST()
15730 CHECK(v8::Integer::New(isolate, 0)->Equals(context.local(), res).FromJust()); in TEST()
15733 CHECK(v8::Integer::New(isolate, 0)->Equals(context.local(), res).FromJust()); in TEST()
15736 CHECK(v8::Integer::New(isolate, 0)->Equals(context.local(), res).FromJust()); in TEST()
15759 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15762 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15767 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15774 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15779 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15786 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15790 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15797 v8::Integer::New(isolate, 1)).FromJust()); in TEST()
15804 .FromJust()); in TEST()
15809 CHECK_EQ(23.0, val->NumberValue(env.local()).FromJust()); in TEST()
15813 .FromJust()); in TEST()
15817 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15825 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15862 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15865 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15870 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15877 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15882 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15889 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15893 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15900 v8::Integer::New(isolate, 1)).FromJust()); in TEST()
15907 v8::Integer::New(isolate, 23)).FromJust()); in TEST()
15912 CHECK_EQ(23.0, val->NumberValue(env.local()).FromJust()); in TEST()
15916 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15920 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15928 v8::ReadOnly).FromJust()); in TEST()
15933 CHECK_EQ(42.0, val->NumberValue(env.local()).FromJust()); in TEST()
15935 env.local(), v8_str("lala")).FromJust()); in TEST()
15944 v8::Integer::New(isolate, 42)).FromJust()); in TEST()
15983 CHECK_EQ(43, result->Int32Value(context.local()).FromJust()); in THREADED_TEST()
16002 .FromJust(); in THREADED_TEST()
16004 obj_clone->Set(context.local(), foo_string, v8_str("Hello")).FromJust(); in THREADED_TEST()
16029 .FromJust(); in ObjectWithExternalArrayTestHelper()
16030 CHECK(context->Global()->Set(context, v8_str("ext_array"), obj).FromJust()); in ObjectWithExternalArrayTestHelper()
16032 CHECK_EQ(1503, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16034 CHECK_EQ(1, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16046 CHECK_EQ(28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16053 CHECK_EQ(-28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16065 CHECK_EQ(28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16073 CHECK_EQ(-28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16084 CHECK_EQ(28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16095 CHECK_EQ(28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16114 CHECK_EQ(low, result->IntegerValue(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16120 CHECK_EQ(high, result->IntegerValue(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16135 CHECK_EQ(28, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16148 CHECK_EQ(false, result->BooleanValue(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16161 CHECK_EQ(false, result->BooleanValue(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16168 CHECK_EQ(0, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16181 CHECK_EQ(2, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16198 CHECK_EQ(0, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16210 CHECK_EQ(expected_value, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16220 CHECK_EQ(0, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16253 CHECK_EQ(true, result->BooleanValue(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16275 CHECK_EQ(16000000, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16290 CHECK_EQ(16000000, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16295 CHECK_EQ(33, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16302 CHECK_EQ(12, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16311 .FromJust()); in ObjectWithExternalArrayTestHelper()
16321 .FromJust()); in ObjectWithExternalArrayTestHelper()
16326 .FromJust()); in ObjectWithExternalArrayTestHelper()
16329 CHECK_EQ(23, result->Int32Value(context).FromJust()); in ObjectWithExternalArrayTestHelper()
16445 CHECK(ab->Equals(env.local(), ta->Buffer()).FromJust()); in TypedArrayTestHelper()
16529 CHECK(ab->Equals(env.local(), dv->Buffer()).FromJust()); in THREADED_TEST()
16669 CHECK(ab->Equals(env.local(), dv->Buffer()).FromJust()); in THREADED_TEST()
16719 .FromJust(); in IS_ARRAY_BUFFER_VIEW_TEST()
16721 dep->Run(c1.local()).ToLocalChecked()->Int32Value(c1.local()).FromJust(), in IS_ARRAY_BUFFER_VIEW_TEST()
16727 .FromJust(), in IS_ARRAY_BUFFER_VIEW_TEST()
16735 .FromJust(); in IS_ARRAY_BUFFER_VIEW_TEST()
16737 dep->Run(c2.local()).ToLocalChecked()->Int32Value(c2.local()).FromJust(), in IS_ARRAY_BUFFER_VIEW_TEST()
16743 .FromJust(), in IS_ARRAY_BUFFER_VIEW_TEST()
16805 int testGroup = args[0]->Int32Value(context).FromJust(); in AnalyzeStackInNativeCode()
17251 .FromJust(); in PromiseRejectCallback()
17252 global->Set(context, v8_str("value"), reject_message.GetValue()).FromJust(); in PromiseRejectCallback()
17257 promise_reject_msg_line_number = message->GetLineNumber(context).FromJust(); in PromiseRejectCallback()
17259 message->GetStartColumn(context).FromJust() + 1; in PromiseRejectCallback()
17267 .FromJust()); in PromiseRejectCallback()
17278 .FromJust(); in PromiseRejectCallback()
17310 global->Set(context, v8_str("rejected"), v8_str("")).FromJust(); in ResetPromiseStates()
17311 global->Set(context, v8_str("value"), v8_str("")).FromJust(); in ResetPromiseStates()
17312 global->Set(context, v8_str("revoked"), v8_str("")).FromJust(); in ResetPromiseStates()
17352 GetPromise("rejected")->Equals(env.local(), GetPromise("p1")).FromJust()); in TEST()
17353 CHECK(RejectValue()->Equals(env.local(), v8_str("ppp")).FromJust()); in TEST()
17370 GetPromise("rejected")->Equals(env.local(), GetPromise("p2")).FromJust()); in TEST()
17371 CHECK(RejectValue()->Equals(env.local(), v8_str("ppp")).FromJust()); in TEST()
17373 GetPromise("revoked")->Equals(env.local(), GetPromise("p1")).FromJust()); in TEST()
17420 GetPromise("rejected")->Equals(env.local(), GetPromise("q2")).FromJust()); in TEST()
17422 GetPromise("revoked")->Equals(env.local(), GetPromise("q_")).FromJust()); in TEST()
17423 CHECK(RejectValue()->Equals(env.local(), v8_str("qqq")).FromJust()); in TEST()
17439 GetPromise("rejected")->Equals(env.local(), GetPromise("q3")).FromJust()); in TEST()
17440 CHECK(RejectValue()->Equals(env.local(), v8_str("qqqq")).FromJust()); in TEST()
17471 GetPromise("rejected")->Equals(env.local(), GetPromise("r2")).FromJust()); in TEST()
17472 CHECK(RejectValue()->Equals(env.local(), v8_str("rrr")).FromJust()); in TEST()
17484 GetPromise("revoked")->Equals(env.local(), GetPromise("r2")).FromJust()); in TEST()
17485 CHECK(RejectValue()->Equals(env.local(), v8_str("rrr")).FromJust()); in TEST()
17525 CHECK(RejectValue()->Equals(env.local(), v8_str("sss")).FromJust()); in TEST()
17652 CHECK(url->Equals(args.GetIsolate()->GetCurrentContext(), name).FromJust()); in AnalyzeStackOfEvalWithSourceURL()
17734 CHECK(url->Equals(args.GetIsolate()->GetCurrentContext(), name).FromJust()); in AnalyzeStackOfInlineScriptWithSourceURL()
17780 CHECK(url->Equals(args.GetIsolate()->GetCurrentContext(), name).FromJust()); in AnalyzeStackOfDynamicScriptWithSourceURL()
17973 .FromJust()); in TEST()
17997 .FromJust()); in TEST()
18306 double stored_number = number->NumberValue(context.local()).FromJust(); in THREADED_TEST()
18328 double stored_date = date->NumberValue(context.local()).FromJust(); in THREADED_TEST()
18371 .FromJust(); in THREADED_TEST()
18463 CHECK_EQ(1, message->GetLineNumber(context).FromJust()); in TEST()
18504 script_origin_f.ResourceLineOffset()->Int32Value(env.local()).FromJust()); in THREADED_TEST()
18518 script_origin_g.ResourceLineOffset()->Int32Value(env.local()).FromJust()); in THREADED_TEST()
18597 CHECK_EQ(false, error->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
18680 CHECK_EQ(false, error->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
18794 .FromJust()); in THREADED_TEST()
18818 .FromJust(); in SetterWhichSetsYOnThisTo23()
18827 .FromJust()) { in FooGetInterceptor()
18839 .FromJust()) { in FooSetInterceptor()
18844 .FromJust(); in FooSetInterceptor()
18859 .FromJust()); in TEST()
18878 .FromJust()); in TEST()
18882 .FromJust()); in TEST()
18892 .FromJust()); in TEST()
18896 .FromJust()); in TEST()
18905 .FromJust()) { in NamedPropertySetterWhichSetsYOnThisTo23()
18908 .FromJust(); in NamedPropertySetterWhichSetsYOnThisTo23()
18924 .FromJust()); in THREADED_TEST()
18943 .FromJust()); in THREADED_TEST()
18947 .FromJust()); in THREADED_TEST()
18957 .FromJust()); in THREADED_TEST()
18961 .FromJust()); in THREADED_TEST()
18979 prototype->Set(context.local(), v8_str("y"), v8_num(42)).FromJust(); in TEST()
18982 .FromJust()); in TEST()
18996 .FromJust()); in TEST()
19000 .FromJust()); in TEST()
19010 .FromJust()); in TEST()
19022 .FromJust()); in TEST()
19026 .FromJust()); in TEST()
19247 CHECK_EQ(6, reresult->Int32Value(context.local()).FromJust()); in THREADED_TEST()
19251 CHECK_EQ(6, reresult->Int32Value(context.local()).FromJust()); in THREADED_TEST()
19254 CHECK_EQ(1, reresult->Int32Value(context.local()).FromJust()); in THREADED_TEST()
19257 CHECK_EQ(1, reresult->Int32Value(context.local()).FromJust()); in THREADED_TEST()
19281 reresult->Int32Value(context.local()).FromJust()); in THREADED_TEST()
19393 .FromJust()); in TEST()
19401 .FromJust()); in TEST()
19718 return static_cast<int>(value->NumberValue(context.local()).FromJust()); in CalcFibonacci()
19777 CHECK_EQ(2, static_cast<int>(v->NumberValue(context).FromJust())); in TEST()
19786 CHECK_EQ(22, static_cast<int>(v->NumberValue(context).FromJust())); in TEST()
20014 .FromJust()); in VisitPersistentHandle()
20086 CHECK(re->GetSource()->Equals(context.local(), v8_str("foo")).FromJust()); in TEST()
20094 CHECK(re->GetSource()->Equals(context.local(), v8_str("bar")).FromJust()); in TEST()
20103 CHECK(re->GetSource()->Equals(context.local(), v8_str("baz")).FromJust()); in TEST()
20112 CHECK(re->GetSource()->Equals(context.local(), v8_str("baz")).FromJust()); in TEST()
20118 CHECK(re->GetSource()->Equals(context.local(), v8_str("quux")).FromJust()); in TEST()
20123 CHECK(re->GetSource()->Equals(context.local(), v8_str("quux")).FromJust()); in TEST()
20134 CHECK(re->GetSource()->Equals(context.local(), v8_str("foobar")).FromJust()); in TEST()
20143 re->GetSource()->Equals(context.local(), v8_str("foobarbaz")).FromJust()); in TEST()
20147 CHECK(context->Global()->Set(context.local(), v8_str("re"), re).FromJust()); in TEST()
20153 .FromJust(); in TEST()
20155 CHECK_EQ(32, value->Int32Value(context.local()).FromJust()); in TEST()
20163 .FromJust()); in TEST()
20180 CHECK(global->Equals(localContext.local(), global).FromJust()); in THREADED_TEST()
20181 CHECK(!global->Equals(localContext.local(), globalProxy).FromJust()); in THREADED_TEST()
20182 CHECK(!globalProxy->Equals(localContext.local(), global).FromJust()); in THREADED_TEST()
20183 CHECK(globalProxy->Equals(localContext.local(), globalProxy).FromJust()); in THREADED_TEST()
20197 .FromJust(); in Enumerator()
20214 .FromJust()); in TEST()
20221 .FromJust()); in TEST()
20249 .FromJust()); in InstallContextId()
20258 .FromJust()); in CheckContextId()
20386 .FromJust()); in THREADED_TEST()
20411 .FromJust()) { in HasOwnPropertyNamedPropertyGetter()
20426 .FromJust()) { in HasOwnPropertyNamedPropertyQuery()
20435 .FromJust()) { in HasOwnPropertyNamedPropertyQuery2()
20466 CHECK(object->Has(env.local(), v8_str("foo")).FromJust()); in TEST()
20467 CHECK(!object->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20468 CHECK(object->HasOwnProperty(env.local(), v8_str("bar")).FromJust()); in TEST()
20469 CHECK(object->Has(env.local(), v8_str("baz")).FromJust()); in TEST()
20470 CHECK(!object->HasOwnProperty(env.local(), v8_str("baz")).FromJust()); in TEST()
20471 CHECK(object->HasOwnProperty(env.local(), v8_str("bla")).FromJust()); in TEST()
20478 CHECK(!instance->HasOwnProperty(env.local(), v8_str("42")).FromJust()); in TEST()
20479 CHECK(!instance->HasOwnProperty(env.local(), 42).FromJust()); in TEST()
20480 CHECK(instance->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20481 CHECK(!instance->HasOwnProperty(env.local(), v8_str("bar")).FromJust()); in TEST()
20488 CHECK(instance->HasOwnProperty(env.local(), v8_str("42")).FromJust()); in TEST()
20489 CHECK(instance->HasOwnProperty(env.local(), 42).FromJust()); in TEST()
20490 CHECK(!instance->HasOwnProperty(env.local(), v8_str("43")).FromJust()); in TEST()
20491 CHECK(!instance->HasOwnProperty(env.local(), 43).FromJust()); in TEST()
20492 CHECK(!instance->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20499 CHECK(instance->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20500 CHECK(!instance->HasOwnProperty(env.local(), v8_str("bar")).FromJust()); in TEST()
20507 CHECK(instance->HasOwnProperty(env.local(), v8_str("42")).FromJust()); in TEST()
20508 CHECK(instance->HasOwnProperty(env.local(), 42).FromJust()); in TEST()
20509 CHECK(!instance->HasOwnProperty(env.local(), v8_str("41")).FromJust()); in TEST()
20510 CHECK(!instance->HasOwnProperty(env.local(), 41).FromJust()); in TEST()
20516 CHECK(instance->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20517 CHECK(!instance->HasOwnProperty(env.local(), v8_str("bar")).FromJust()); in TEST()
20525 CHECK(!instance->HasOwnProperty(env.local(), v8_str("foo")).FromJust()); in TEST()
20526 CHECK(instance->HasOwnProperty(env.local(), v8_str("bar")).FromJust()); in TEST()
20541 .FromJust()); in TEST()
20544 CHECK(CompileRun("42 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20545 CHECK(CompileRun("'42' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20547 CHECK(CompileRun("0 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20548 CHECK(CompileRun("'0' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20550 CHECK(!CompileRun("32 in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20551 CHECK(!CompileRun("'32' in obj")->BooleanValue(context.local()).FromJust()); in TEST()
20558 CHECK_EQ(42, result->Int32Value(context).FromJust()); in CheckCodeGenerationAllowed()
20560 CHECK_EQ(42, result->Int32Value(context).FromJust()); in CheckCodeGenerationAllowed()
20562 CHECK_EQ(42, result->Int32Value(context).FromJust()); in CheckCodeGenerationAllowed()
20644 CHECK(expected_message->Equals(context.local(), actual_message).FromJust()); in TEST()
20662 .FromJust()); in THREADED_TEST()
20676 CHECK(context->Global()->Set(context.local(), v8_str("obj"), obj).FromJust()); in THREADED_TEST()
20679 .FromJust(); in THREADED_TEST()
20680 obj->Set(context.local(), v8_str("1"), v8_str("foobar")).FromJust(); in THREADED_TEST()
20684 .FromJust()); in THREADED_TEST()
20687 .FromJust(); in THREADED_TEST()
20688 obj->Set(context.local(), v8_num(2), v8_str("foobar")).FromJust(); in THREADED_TEST()
20692 .FromJust()); in THREADED_TEST()
20697 .FromJust(); in THREADED_TEST()
20698 obj->Set(context.local(), v8_str("2000000000"), v8_str("foobar")).FromJust(); in THREADED_TEST()
20703 .FromJust()); in THREADED_TEST()
20789 object_with_hidden->SetPrototype(context, hidden_prototype).FromJust(); in THREADED_TEST()
20798 .FromJust()); in THREADED_TEST()
20800 .FromJust()); in THREADED_TEST()
20802 .FromJust()); in THREADED_TEST()
20804 global->Set(context2.local(), v8_str("proxy"), proxy_object).FromJust()); in THREADED_TEST()
20806 .FromJust()); in THREADED_TEST()
20810 .FromJust()); in THREADED_TEST()
20817 .FromJust()); in THREADED_TEST()
20827 .FromJust()); in THREADED_TEST()
20840 .FromJust()); in TestReceiver()
20844 .FromJust()); in TestReceiver()
20895 .FromJust()); in THREADED_TEST()
20902 .FromJust()); in THREADED_TEST()
20905 .FromJust()); in THREADED_TEST()
20915 .FromJust()); in THREADED_TEST()
20918 .FromJust()); in THREADED_TEST()
20921 .FromJust()); in THREADED_TEST()
20944 .FromJust()); in THREADED_TEST()
20946 .FromJust()); in THREADED_TEST()
20948 .FromJust()); in THREADED_TEST()
20988 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust(); in RecursiveCall()
21013 .FromJust(); in TEST()
21121 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21122 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21127 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21128 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21135 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21136 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21141 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21142 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21145 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21146 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21152 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21153 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21163 CHECK_EQ(3, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21164 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21202 CompileRun("exception1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21204 CompileRun("exception2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21225 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21226 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21232 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21233 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21242 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21243 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21247 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21248 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21254 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21255 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21259 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21260 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21267 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21268 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21276 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21277 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21282 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21283 CHECK_EQ(4, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21291 CHECK_EQ(3, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21292 CHECK_EQ(4, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21311 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(context).FromJust()); in TEST()
21330 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21331 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21336 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21337 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21343 CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21345 CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21347 CHECK_EQ(0, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21348 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21350 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21351 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21359 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21360 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21367 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21368 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21373 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21374 CHECK_EQ(0, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21380 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21381 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21394 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21395 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21402 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21403 CHECK_EQ(1, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21409 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21410 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21418 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21419 CHECK_EQ(2, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21429 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21430 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21440 CHECK_EQ(1, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21441 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21449 CHECK_EQ(2, CompileRun("ext1Calls")->Int32Value(env.local()).FromJust()); in TEST()
21450 CHECK_EQ(3, CompileRun("ext2Calls")->Int32Value(env.local()).FromJust()); in TEST()
21643 .FromJust()); in InstanceCheckedGetter()
21654 .FromJust()); in InstanceCheckedSetter()
21656 .FromJust()); in InstanceCheckedSetter()
21733 .FromJust()); in THREADED_TEST()
21774 .FromJust()); in THREADED_TEST()
21805 .FromJust()); in THREADED_TEST()
21850 CHECK_EQ(2, message->GetLineNumber(context.local()).FromJust()); in TEST()
21869 CHECK_EQ(6, message->GetLineNumber(context.local()).FromJust()); in TEST()
21891 .FromJust()); in Helper137002()
21926 .FromJust()); in Helper137002()
21953 .FromJust()); in THREADED_TEST()
22043 .FromJust()); in THREADED_TEST()
22075 .FromJust(); in THREADED_TEST()
22098 obj->SetPrivate(context.local(), key, v8::Undefined(isolate)).FromJust()); in THREADED_TEST()
22124 global->Set(context.local(), v8_str("obj"), obj).FromJust(); in THREADED_TEST()
22134 global->Set(context.local(), v8_str("obj"), obj).FromJust(); in THREADED_TEST()
22145 global->Set(context.local(), v8_str("obj"), obj).FromJust(); in THREADED_TEST()
22159 global->Set(context.local(), v8_str("obj"), obj).FromJust(); in THREADED_TEST()
22249 global0->Set(context0.local(), v8_str("x"), v8_num(42)).FromJust(); in TEST()
22260 .FromJust(); in TEST()
22267 .FromJust()); in TEST()
22352 .FromJust()); in TEST()
22359 .FromJust()); in TEST()
22367 .FromJust()); in TEST()
22503 .FromJust()); in TestBody()
22522 .FromJust()); in TestBody()
22540 .FromJust()); in TestBody()
22560 .FromJust()); in TestBody()
22593 .FromJust()); in TestBody()
22613 .FromJust(); in TestBody()
22620 .FromJust(); in TestBody()
22647 .FromJust()) { in WakeUpInterruptorCallback()
22711 .FromJust()); in TestBody()
22773 .FromJust()); in FunctionNewCallback()
22786 CHECK(env->Global()->Set(env.local(), v8_str("func"), func).FromJust()); in THREADED_TEST()
22788 CHECK(v8::Integer::New(isolate, 17)->Equals(env.local(), result).FromJust()); in THREADED_TEST()
22806 CHECK(!func->Equals(env.local(), func2).FromJust()); in THREADED_TEST()
22807 CHECK(env->Global()->Set(env.local(), v8_str("func2"), func2).FromJust()); in THREADED_TEST()
22809 CHECK(v8::Integer::New(isolate, 17)->Equals(env.local(), result2).FromJust()); in THREADED_TEST()
22829 .FromJust()); in TEST()
22852 .FromJust()); in TEST()
22879 .FromJust()); in OptimizationCallback()
22941 .FromJust()); in Run()
22957 global_holder->Set(context, v8_str("g_f"), function).FromJust(); in Run()
22959 function_holder->Set(context, v8_str("f"), function).FromJust(); in Run()
23061 global->Set(context.local(), v8_str("x"), function).FromJust(); in TEST()
23088 global->Set(context.local(), v8_str("x"), function).FromJust(); in TEST()
23109 global->Set(context.local(), v8_str("x"), function).FromJust(); in TEST()
23125 CHECK_EQ(21, result->Int32Value(context.local()).FromJust()); in TEST()
23129 CHECK_EQ(21, result->Int32Value(context.local()).FromJust()); in TEST()
23149 .FromJust(); in TEST()
23152 .FromJust(); in TEST()
23168 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23174 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23194 .FromJust(); in TEST()
23197 .FromJust(); in TEST()
23213 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23219 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23235 .FromJust(); in TEST()
23238 .FromJust(); in TEST()
23254 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23260 CHECK_EQ(42, result->Int32Value(context.local()).FromJust()); in TEST()
23308 pr->Resolve(context.local(), v8::Integer::New(isolate, 1)).FromJust(); in TEST()
23310 rr->Reject(context.local(), v8::Integer::New(isolate, 2)).FromJust(); in TEST()
23332 pr->Resolve(context.local(), v8::Integer::New(isolate, 1)).FromJust(); in TEST()
23333 qr->Resolve(context.local(), p).FromJust(); in TEST()
23352 .FromJust()); in TEST()
23357 .FromJust()); in TEST()
23364 qr->Resolve(context.local(), pr).FromJust(); in TEST()
23374 .FromJust()); in TEST()
23378 .FromJust()); in TEST()
23383 .FromJust()); in TEST()
23387 .FromJust()); in TEST()
23389 pr->Resolve(context.local(), v8::Integer::New(isolate, 3)).FromJust(); in TEST()
23394 .FromJust()); in TEST()
23398 .FromJust()); in TEST()
23403 .FromJust()); in TEST()
23407 .FromJust()); in TEST()
23457 .FromJust()); in TEST()
23718 .FromJust()); in TEST()
23732 .FromJust()); in TEST()
23738 .FromJust()); in TEST()
23755 .FromJust()); in TEST()
23772 obj->Set(context, v8_str("key"), v8_str("value")).FromJust(); in TEST()
23773 obj->Delete(context, v8_str("key")).FromJust(); in TEST()
23777 .FromJust(); in TEST()
23794 .FromJust()); in TEST()
23877 CHECK_EQ(13, result->Int32Value(env.local()).FromJust()); in RunStreamingTest()
24317 .FromJust()); in TEST()
24338 script->Run(context).ToLocalChecked()->Int32Value(context).FromJust()); in TestInvalidCacheData()
24488 .FromJust()); in TEST()
24511 object->SetPrototype(env.local(), proto).FromJust(); in TEST()
24512 proto->SetPrototype(env.local(), proto2).FromJust(); in TEST()
24514 CHECK(env->Global()->Set(env.local(), v8_str("object"), object).FromJust()); in TEST()
24515 CHECK(env->Global()->Set(env.local(), v8_str("proto"), proto).FromJust()); in TEST()
24516 CHECK(env->Global()->Set(env.local(), v8_str("proto2"), proto2).FromJust()); in TEST()
24519 CHECK(result->Equals(env.local(), proto2).FromJust()); in TEST()
24525 CHECK(result->Equals(env.local(), proto2).FromJust()); in TEST()
24636 args[0]->Int32Value(args.GetIsolate()->GetCurrentContext()).FromJust()); in ExtrasBindingTestRuntimeFunction()
24661 CHECK(env->Global()->Set(env.local(), v8_str("wrapper"), wrapper).FromJust()); in TEST()
24688 CHECK_EQ(5, result->Int32Value(env.local()).FromJust()); in TEST()
24694 .FromJust(); in TEST()
24701 CHECK_EQ(7, result->Int32Value(env.local()).FromJust()); in TEST()
24724 CHECK_EQ(10, result->Int32Value(env.local()).FromJust()); in TEST()
24730 .FromJust(); in TEST()
24738 CHECK_EQ(7, result->Int32Value(env.local()).FromJust()); in TEST()
24772 CHECK_EQ(1, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24780 CHECK_EQ(2, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24787 CHECK_EQ(3, CompileRun("result")->Int32Value(env.local()).FromJust()); in TEST()
24824 CHECK(map->Has(env.local(), v8::Integer::New(isolate, 1)).FromJust()); in TEST()
24825 CHECK(map->Has(env.local(), v8::Integer::New(isolate, 3)).FromJust()); in TEST()
24827 CHECK(!map->Has(env.local(), v8::Integer::New(isolate, 2)).FromJust()); in TEST()
24828 CHECK(!map->Has(env.local(), map).FromJust()); in TEST()
24833 .FromJust()); in TEST()
24837 .FromJust()); in TEST()
24845 CHECK(map->Has(env.local(), map).FromJust()); in TEST()
24847 CHECK(map->Delete(env.local(), map).FromJust()); in TEST()
24849 CHECK(!map->Has(env.local(), map).FromJust()); in TEST()
24850 CHECK(!map->Delete(env.local(), map).FromJust()); in TEST()
24882 CHECK(set->Has(env.local(), v8::Integer::New(isolate, 1)).FromJust()); in TEST()
24883 CHECK(set->Has(env.local(), v8::Integer::New(isolate, 2)).FromJust()); in TEST()
24885 CHECK(!set->Has(env.local(), v8::Integer::New(isolate, 3)).FromJust()); in TEST()
24886 CHECK(!set->Has(env.local(), set).FromJust()); in TEST()
24890 CHECK(set->Has(env.local(), set).FromJust()); in TEST()
24892 CHECK(set->Delete(env.local(), set).FromJust()); in TEST()
24894 CHECK(!set->Has(env.local(), set).FromJust()); in TEST()
24895 CHECK(!set->Delete(env.local(), set).FromJust()); in TEST()
24917 .FromJust()); in TEST()
24945 CHECK(map->Delete(env.local(), key).FromJust()); in TEST()
24970 .FromJust()); in TEST()
25006 .FromJust()); in THREADED_TEST()
25012 CHECK(env->Global()->Set(env.local(), v8_str("p"), instance).FromJust()); in THREADED_TEST()
25013 CHECK(CompileRun("(p.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25014 CHECK(CompileRun("(p.acc = 7) == 7")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25019 CHECK(CompileRun("(a.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25020 CHECK(CompileRun("(a.acc = 7) == 7")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25025 CHECK(CompileRun("(a.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25026 CHECK(CompileRun("(a.acc = 7) == 7")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25031 CHECK(CompileRun("(a.acc == 42)")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25032 CHECK(CompileRun("(a.acc = 7) == 7")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25034 CHECK(CompileRun("acc.call(1) == 42")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25035 CHECK(CompileRun("acc.call(true)==42")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25036 CHECK(CompileRun("acc.call('aa')==42")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25038 CompileRun("acc.call(null) == 42")->BooleanValue(env.local()).FromJust()); in THREADED_TEST()
25041 .FromJust()); in THREADED_TEST()
25133 CHECK(env->Global()->Set(env.local(), v8_str("object"), object).FromJust()); in TEST()
25134 object->Set(env.local(), v8_str("length"), v8_num(2)).FromJust(); in TEST()
25135 object->Set(env.local(), 0U, v8_str("a")).FromJust(); in TEST()
25136 object->Set(env.local(), 1U, v8_str("b")).FromJust(); in TEST()
25168 env->Global()->Set(env.local(), v8_str("object"), object).FromJust(); in TEST()
25170 .FromJust(); in TEST()
25206 CHECK(env->Global()->Set(env.local(), v8_str("obj1"), object).FromJust()); in TEST()
25220 env2->Global()->Set(env2.local(), v8_str("obj2"), object2).FromJust()); in TEST()
25331 CHECK(context->Global()->Set(context.local(), v8_str("o"), obj).FromJust()); in TEST()
25334 CHECK(!is_frozen->BooleanValue(context.local()).FromJust()); in TEST()
25337 .FromJust()); in TEST()
25340 CHECK(is_frozen->BooleanValue(context.local()).FromJust()); in TEST()