chromium/v8/test/unittests/debug/debug-property-iterator-unittest.cc

// Copyright 2021 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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  // V8_CAN_CREATE_SHARED_HEAP_BOOL

}  // namespace
}  // namespace debug
}  // namespace v8