![]() |
v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|

Go to the source code of this file.
Data Structures | |
| struct | RecordExpectation |
Macros | |
| #define | EXPECT_RECORDS(records, expectations) |
Functions | |
| TEST (PerIsolateState) | |
| TEST (EndOfMicrotaskDelivery) | |
| TEST (DeliveryOrdering) | |
| TEST (DeliveryOrderingReentrant) | |
| TEST (DeliveryOrderingDeliverChangeRecords) | |
| TEST (ObjectHashTableGrowth) | |
| TEST (GlobalObjectObservation) | |
| TEST (APITestBasicMutation) | |
| TEST (HiddenPrototypeObservation) | |
| TEST (ObservationWeakMap) | |
| TEST (NamedAccessCheck) | |
| TEST (IndexedAccessCheck) | |
| TEST (SpliceAccessCheck) | |
| TEST (DisallowAllForAccessKeys) | |
| TEST (AccessCheckDisallowApiModifications) | |
| TEST (HiddenPropertiesLeakage) | |
| #define EXPECT_RECORDS | ( | records, | |
| expectations | |||
| ) |
Definition at line 300 of file test-object-observe.cc.
Referenced by TEST().
| TEST | ( | PerIsolateState | ) |
Definition at line 36 of file test-object-observe.cc.
References CHECK_EQ, Context::Global(), CcTest::isolate(), String::NewFromUtf8(), and obj.
| TEST | ( | EndOfMicrotaskDelivery | ) |
Definition at line 82 of file test-object-observe.cc.
References CHECK_EQ, and CcTest::isolate().
| TEST | ( | DeliveryOrdering | ) |
Definition at line 95 of file test-object-observe.cc.
References CHECK_EQ, and CcTest::isolate().
| TEST | ( | DeliveryOrderingReentrant | ) |
Definition at line 126 of file test-object-observe.cc.
References CHECK_EQ, and CcTest::isolate().
| TEST | ( | DeliveryOrderingDeliverChangeRecords | ) |
Definition at line 157 of file test-object-observe.cc.
References CHECK_EQ, and CcTest::isolate().
| TEST | ( | ObjectHashTableGrowth | ) |
Definition at line 181 of file test-object-observe.cc.
References CHECK, Context::Global(), CcTest::isolate(), String::NewFromUtf8(), and obj.
| TEST | ( | GlobalObjectObservation | ) |
Definition at line 212 of file test-object-observe.cc.
References CHECK, CHECK_EQ, Context::DetachGlobal(), Context::Global(), CcTest::isolate(), NULL, and Value::StrictEquals().
| TEST | ( | APITestBasicMutation | ) |
Definition at line 304 of file test-object-observe.cc.
References Handle< T >::Cast(), CHECK_EQ, Object::Delete(), v8::DontDelete, EXPECT_RECORDS, Object::ForceDelete(), Object::ForceSet(), CcTest::isolate(), Number::New(), String::NewFromUtf8(), obj, and Object::Set().
| TEST | ( | HiddenPrototypeObservation | ) |
Definition at line 351 of file test-object-observe.cc.
References ObjectHashTable::cast(), EXPECT_RECORDS, FunctionTemplate::GetFunction(), Context::Global(), FunctionTemplate::InstanceTemplate(), CcTest::isolate(), map, Number::New(), Object::New(), FunctionTemplate::New(), String::NewFromUtf8(), v8::Null(), obj, FunctionTemplate::SetHiddenPrototype(), and Object::SetPrototype().
| TEST | ( | ObservationWeakMap | ) |
Definition at line 402 of file test-object-observe.cc.
References Handle< T >::cast(), CHECK_EQ, Heap::CollectAllGarbage(), Isolate::factory(), v8::internal::GetProperty(), Isolate::heap(), CcTest::isolate(), and Heap::kAbortIncrementalMarkingMask.
| TEST | ( | NamedAccessCheck | ) |
Definition at line 498 of file test-object-observe.cc.
References v8::ACCESS_GET, v8::ACCESS_HAS, ARRAY_SIZE, EXPECT_RECORDS, Context::Global(), CcTest::isolate(), Number::New(), and String::NewFromUtf8().
| TEST | ( | IndexedAccessCheck | ) |
Definition at line 551 of file test-object-observe.cc.
References v8::ACCESS_GET, v8::ACCESS_HAS, ARRAY_SIZE, EXPECT_RECORDS, Context::Global(), CcTest::isolate(), Number::New(), and String::NewFromUtf8().
| TEST | ( | SpliceAccessCheck | ) |
Definition at line 601 of file test-object-observe.cc.
References v8::ACCESS_GET, EXPECT_RECORDS, Context::Global(), CcTest::isolate(), Number::New(), and String::NewFromUtf8().
| TEST | ( | DisallowAllForAccessKeys | ) |
Definition at line 647 of file test-object-observe.cc.
References EXPECT_RECORDS, Context::Global(), CcTest::isolate(), and String::NewFromUtf8().
| TEST | ( | AccessCheckDisallowApiModifications | ) |
Definition at line 685 of file test-object-observe.cc.
References CHECK, EXPECT_RECORDS, Context::Global(), CcTest::isolate(), String::NewFromUtf8(), and Object::Set().
| TEST | ( | HiddenPropertiesLeakage | ) |
Definition at line 714 of file test-object-observe.cc.
References Handle< T >::Cast(), CHECK, Context::Global(), CcTest::isolate(), String::NewFromUtf8(), and v8::Null().