Commit 7f81b78e authored by Adam Langley's avatar Adam Langley Committed by Commit Bot

third_party/blink: fix comment.

I think this comment is out of date. (At least I can't find
DefaultPolicy.) Therefore update it to reference FeatureDefault, which
I think is correct.

Change-Id: Iab8fbd9eb71f269d159c8eab5c9de86a2b884a77
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1724468
Auto-Submit: Adam Langley <agl@chromium.org>
Commit-Queue: Ian Clelland <iclelland@chromium.org>
Reviewed-by: default avatarIan Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#682263}
parent 394bacba
......@@ -74,7 +74,7 @@ namespace blink {
//
// If the default policy is in effect for a frame, then it controls how the
// feature is inherited by any cross-origin iframes embedded by the frame. (See
// the comments below in FeaturePolicy::DefaultPolicy for specifics)
// the comments below in FeaturePolicy::FeatureDefault for specifics)
//
// Policy Inheritance
// ------------------
......@@ -83,7 +83,7 @@ namespace blink {
// receive the same set of enables features as the parent frame. Whether or not
// features are inherited by cross-origin iframes without an explicit policy is
// determined by the feature's default policy. (Again, see the comments in
// FeaturePolicy::DefaultPolicy for details)
// FeaturePolicy::FeatureDefault for details)
// ListValue (PolicyValue)
// ----------------------
......@@ -180,6 +180,8 @@ class BLINK_COMMON_EXPORT FeaturePolicy {
// a feature when neither it nor any parent frame have declared an explicit
// policy. The three possibilities map directly to Feature Policy Allowlist
// semantics.
//
// The default values for each feature are set in GetDefaultFeatureList.
enum class FeatureDefault {
// Equivalent to []. If this default policy is in effect for a frame, then
// the feature will not be enabled for that frame or any of its children.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment