#include "third_party/blink/renderer/core/html/html_iframe_element.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/permissions_policy/origin_with_possible_wildcards.h"
#include "third_party/blink/public/mojom/permissions_policy/permissions_policy.mojom-blink.h"
#include "third_party/blink/public/platform/web_runtime_features.h"
#include "third_party/blink/public/platform/web_runtime_features_base.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/frame/local_dom_window.h"
#include "third_party/blink/renderer/core/permissions_policy/permissions_policy_parser.h"
#include "third_party/blink/renderer/core/testing/dummy_page_holder.h"
#include "third_party/blink/renderer/core/testing/sim/sim_request.h"
#include "third_party/blink/renderer/core/testing/sim/sim_test.h"
#include "third_party/blink/renderer/platform/heap/garbage_collected.h"
#include "third_party/blink/renderer/platform/testing/task_environment.h"
#include "third_party/blink/renderer/platform/wtf/text/string_utf8_adaptor.h"
namespace blink {
class HTMLIFrameElementTest : public testing::Test { … };
TEST_F(HTMLIFrameElementTest, FramesUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, SandboxFramesUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, SameOriginSandboxFramesUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, SrcdocFramesUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, SandboxedSrcdocFramesUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, RelativeURLsUseCorrectOrigin) { … }
TEST_F(HTMLIFrameElementTest, DefaultContainerPolicy) { … }
TEST_F(HTMLIFrameElementTest, AllowAttributeContainerPolicy) { … }
TEST_F(HTMLIFrameElementTest, ConstructEmptyContainerPolicy) { … }
TEST_F(HTMLIFrameElementTest, ConstructContainerPolicy) { … }
TEST_F(HTMLIFrameElementTest, ConstructContainerPolicyWithAllowFullscreen) { … }
TEST_F(HTMLIFrameElementTest, ConstructContainerPolicyWithAllowPaymentRequest) { … }
TEST_F(HTMLIFrameElementTest, ConstructContainerPolicyWithAllowAttributes) { … }
HTMLIFrameElementSimTest;
TEST_F(HTMLIFrameElementSimTest, PolicyAttributeParsingError) { … }
TEST_F(HTMLIFrameElementSimTest, AllowAttributeParsingError) { … }
TEST_F(HTMLIFrameElementSimTest, Adauctionheaders_SecureContext_Allowed) { … }
TEST_F(HTMLIFrameElementSimTest, Adauctionheaders_InsecureContext_NotAllowed) { … }
TEST_F(HTMLIFrameElementSimTest, Sharedstoragewritable_SecureContext_Allowed) { … }
TEST_F(HTMLIFrameElementSimTest,
Sharedstoragewritable_InsecureContext_NotAllowed) { … }
}