summaryrefslogtreecommitdiff
path: root/chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc')
-rw-r--r--chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc b/chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc
index 687bd02154e..b730cee3bcb 100644
--- a/chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc
+++ b/chromium/content/browser/frame_host/render_frame_host_feature_policy_unittest.cc
@@ -30,7 +30,7 @@ class RenderFrameHostFeaturePolicyTest
static constexpr const char* kOrigin4 = "https://test.com";
static const blink::mojom::FeaturePolicyFeature kDefaultEnabledFeature =
- blink::mojom::FeaturePolicyFeature::kDocumentStreamInsertion;
+ blink::mojom::FeaturePolicyFeature::kDocumentWrite;
static const blink::mojom::FeaturePolicyFeature kDefaultSelfFeature =
blink::mojom::FeaturePolicyFeature::kGeolocation;
@@ -113,7 +113,7 @@ TEST_F(RenderFrameHostFeaturePolicyTest, HeaderPolicy) {
EXPECT_TRUE(parent->IsFeatureEnabled(kDefaultSelfFeature));
EXPECT_TRUE(child->IsFeatureEnabled(kDefaultSelfFeature));
- // Set an empty whitelist in the child to test that the policies combine
+ // Set an empty allowlist in the child to test that the policies combine
// correctly.
RefreshPageAndSetHeaderPolicy(&child, kDefaultSelfFeature,
std::vector<std::string>());