#include "include/v8-exception.h"
#include "include/v8-local-handle.h"
#include "include/v8-object.h"
#include "include/v8-primitive.h"
#include "include/v8-template.h"
#include "src/api/api.h"
#include "src/objects/objects-inl.h"
#include "test/unittests/test-utils.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace v8 {
namespace debug {
namespace {
using DebugPropertyIteratorTest = TestWithContext;
TEST_F(DebugPropertyIteratorTest, WalksPrototypeChain) { … }
bool may_access = …;
bool AccessCheck(Local<Context> accessing_context,
Local<Object> accessed_object, Local<Value> data) { … }
TEST_F(DebugPropertyIteratorTest, DoestWalksPrototypeChainIfInaccesible) { … }
TEST_F(DebugPropertyIteratorTest, SkipsIndicesOnArrays) { … }
TEST_F(DebugPropertyIteratorTest, SkipsIndicesOnObjects) { … }
TEST_F(DebugPropertyIteratorTest, SkipsIndicesOnTypedArrays) { … }
#if V8_CAN_CREATE_SHARED_HEAP_BOOL
using SharedObjectDebugPropertyIteratorTest = TestJSSharedMemoryWithContext;
TEST_F(SharedObjectDebugPropertyIteratorTest, SharedStruct) { … }
#endif
}
}
}