Lines Matching refs:CompileRun
49 CompileRun( in TEST()
55 Local<Value> observer = CompileRun("observer"); in TEST()
56 Local<Value> obj = CompileRun("obj"); in TEST()
57 Local<Value> notify_fun1 = CompileRun("(function() { obj.foo = 'bar'; })"); in TEST()
66 notify_fun2 = CompileRun( in TEST()
77 notify_fun3 = CompileRun("(function() { obj.foo = 'bat'; })"); in TEST()
98 CompileRun("fun1(); fun2(); fun3(); Object.deliverChangeRecords(observer)"); in TEST()
100 CHECK_EQ(1, ToInt32(CompileRun("calls"))); in TEST()
101 CHECK_EQ(3, ToInt32(CompileRun("count"))); in TEST()
109 CompileRun( in TEST()
115 CHECK_EQ(1, ToInt32(CompileRun("count"))); in TEST()
123 CompileRun( in TEST()
134 CHECK_EQ(3, ToInt32(CompileRun("ordering.length"))); in TEST()
135 CHECK_EQ(1, ToInt32(CompileRun("ordering[0]"))); in TEST()
136 CHECK_EQ(2, ToInt32(CompileRun("ordering[1]"))); in TEST()
137 CHECK_EQ(3, ToInt32(CompileRun("ordering[2]"))); in TEST()
138 CompileRun( in TEST()
144 CHECK_EQ(3, ToInt32(CompileRun("ordering.length"))); in TEST()
145 CHECK_EQ(1, ToInt32(CompileRun("ordering[0]"))); in TEST()
146 CHECK_EQ(2, ToInt32(CompileRun("ordering[1]"))); in TEST()
147 CHECK_EQ(3, ToInt32(CompileRun("ordering[2]"))); in TEST()
155 CompileRun( in TEST()
171 CHECK_EQ(5, ToInt32(CompileRun("ordering.length"))); in TEST()
172 CHECK_EQ(0, ToInt32(CompileRun("ordering[0]"))); in TEST()
173 CHECK_EQ(1, ToInt32(CompileRun("ordering[1]"))); in TEST()
174 CHECK_EQ(0, ToInt32(CompileRun("ordering[2]"))); in TEST()
175 CHECK_EQ(2, ToInt32(CompileRun("ordering[3]"))); in TEST()
176 CHECK_EQ(0, ToInt32(CompileRun("ordering[4]"))); in TEST()
184 CompileRun( in TEST()
200 CHECK_EQ(2, ToInt32(CompileRun("ordering.length"))); in TEST()
201 CHECK_EQ(101, ToInt32(CompileRun("ordering[0]"))); in TEST()
202 CHECK_EQ(201, ToInt32(CompileRun("ordering[1]"))); in TEST()
210 CompileRun( in TEST()
227 CHECK_EQ(5, ToInt32(CompileRun("ordering.length"))); in TEST()
228 CHECK_EQ(1, ToInt32(CompileRun("ordering[0]"))); in TEST()
229 CHECK_EQ(2, ToInt32(CompileRun("ordering[1]"))); in TEST()
230 CHECK_EQ(3, ToInt32(CompileRun("ordering[2]"))); in TEST()
233 CHECK_EQ(1, ToInt32(CompileRun("ordering[3]"))); in TEST()
234 CHECK_EQ(2, ToInt32(CompileRun("ordering[1]"))); in TEST()
242 CompileRun( in TEST()
251 CHECK_EQ(4, ToInt32(CompileRun("ordering.length"))); in TEST()
253 CHECK_EQ(2, ToInt32(CompileRun("ordering[0]"))); in TEST()
255 CHECK_EQ(1, ToInt32(CompileRun("ordering[1]"))); in TEST()
258 CHECK_EQ(1, ToInt32(CompileRun("ordering[2]"))); in TEST()
259 CHECK_EQ(2, ToInt32(CompileRun("ordering[3]"))); in TEST()
268 Local<Value> obj = CompileRun("obj = {};"); in TEST()
269 Local<Value> observer = CompileRun( in TEST()
283 CompileRun( in TEST()
294 CompileRun("obj.foo = 'bar'"); in TEST()
295 CHECK(CompileRun("ran") in TEST()
365 CompileRun("var records = [];" in TEST()
400 CompileRun("void 0"); in TEST()
401 CHECK_EQ(9, ToInt32(CompileRun("records.length"))); in TEST()
415 EXPECT_RECORDS(CompileRun("records"), expected_records); in TEST()
443 CompileRun( in TEST()
452 EXPECT_RECORDS(CompileRun("records"), expected_records); in TEST()
456 CompileRun("obj.foo = 43"); in TEST()
459 EXPECT_RECORDS(CompileRun("records"), expected_records2); in TEST()
462 CompileRun( in TEST()
473 EXPECT_RECORDS(CompileRun("records"), expected_records3); in TEST()
486 CompileRun( in TEST()
518 CompileRun("var records = null;" in TestObserveSecurity()
520 Local<Value> observer = CompileRun("observer"); in TestObserveSecurity()
527 CompileRun("var obj = {};" in TestObserveSecurity()
532 Local<Value> obj = CompileRun("obj"); in TestObserveSecurity()
539 CompileRun("obj.foo = 'bar';" in TestObserveSecurity()
549 return ToInt32(CompileRun("records ? records.length : 0")); in TestObserveSecurity()
667 CompileRun("var obj = {};" in TEST()
671 Local<Value> obj = CompileRun("obj"); in TEST()
679 CompileRun("var recordsB = null;" in TEST()
684 CompileRun("var notifier = Object.getNotifier(obj);" in TEST()
686 CHECK_EQ(1, ToInt32(CompileRun("recordsA ? recordsA.length : 0"))); in TEST()
690 CHECK_EQ(0, ToInt32(CompileRun("recordsB ? recordsB.length : 0"))); in TEST()
699 CompileRun("var obj = {};" in TEST()
712 CompileRun(""); // trigger delivery in TEST()
713 CHECK(CompileRun("records")->IsNull()); in TEST()
721 CompileRun("var obj = {};"); in TEST()
722 Local<Value> instance = CompileRun("obj"); in TEST()
729 CHECK(CompileRun("Object.getNotifier(obj)")->IsNull()); in TEST()
741 CompileRun("var obj = {};"); in TEST()
742 Local<Value> instance = CompileRun("obj"); in TEST()
750 CHECK(CompileRun("Object.getNotifier(obj)")->IsNull()); in TEST()
761 CompileRun("var obj = {};"); in TEST()
762 Local<Value> instance = CompileRun("obj"); in TEST()
770 CHECK(CompileRun("Object.getNotifier(obj)")->IsObject()); in TEST()
813 CompileRun("var obj = {};"); in TEST()
814 Local<Value> object = CompileRun("obj"); in TEST()
823 CompileRun("function observer() {};" in TEST()
839 CompileRun("var obj = {};"); in TEST()
840 Local<Value> object = CompileRun("obj"); in TEST()
849 CompileRun("Object.getNotifier(obj);"); in TEST()
863 CompileRun("var obj = {};"); in TEST()
864 Local<Value> object = CompileRun("obj"); in TEST()
865 Local<Value> notifier = CompileRun("Object.getNotifier(obj)"); in TEST()
878 CompileRun("var obj2 = {};" in TEST()
909 CompileRun( in TEST()
933 CompileRun( in TEST()
967 CompileRun( in TEST()
971 CHECK(CompileRun("records")->IsNull()); in TEST()
972 CompileRun("Object.defineProperty(obj, 'accessor', { value: 44 });"); in TEST()
973 CHECK(CompileRun("records")->IsNull()); in TEST()
996 CompileRun( in TEST()
1000 CompileRun( in TEST()
1007 CompileRun( in TEST()
1024 CompileRun("var obj = {}"); in TEST()
1025 CompileRun("Object.getNotifier(obj)"); in TEST()
1053 CompileRun("Object.observe(obj, function(){})"); in TEST()
1075 CompileRun("Object.getNotifier(obj)"); in TEST()