chromium/third_party/blink/renderer/core/permissions_policy/permissions_policy_devtools_support_test.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/core/permissions_policy/permissions_policy_devtools_support.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/renderer/core/execution_context/security_context.h"
#include "third_party/blink/renderer/core/frame/frame.h"
#include "third_party/blink/renderer/core/inspector/identifiers_factory.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"

namespace blink {
PermissionsPolicyDevtoolsSupportSimTest;

// Note: fullscreen has default allowlist 'EnableForSelf'.

TEST_F(PermissionsPolicyDevtoolsSupportSimTest, DetectIframeAttributeBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest,
       DetectNestedIframeAttributeBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest, DetectHeaderBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest, DetectNestedHeaderBlockage) {}

// When feature is disabled at multiple level of frames, report blockage
// closest to the root of frame tree.
TEST_F(PermissionsPolicyDevtoolsSupportSimTest, DetectRootHeaderBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest,
       DetectCrossOriginHeaderBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest,
       DetectCrossOriginDefaultAllowlistBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest,
       DetectCrossOriginIframeAttributeBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest,
       DetectNestedCrossOriginNoBlockage) {}

TEST_F(PermissionsPolicyDevtoolsSupportSimTest, DetectNoBlockage) {}
}  // namespace blink