| Index: third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| index 3d8de52059e3a13e54c599edfd384fcbefb73f52..c58604cddcba2c973a70bf50e5b9cffcf2e86fa8 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp
|
| @@ -134,12 +134,15 @@ void HTMLIFrameElement::ParseAttribute(
|
| kHTMLIFrameElementAllowfullscreenAttributeSetAfterContentLoad);
|
| }
|
| FrameOwnerPropertiesChanged();
|
| + UpdateContainerPolicy();
|
| }
|
| } else if (name == allowpaymentrequestAttr) {
|
| bool old_allow_payment_request = allow_payment_request_;
|
| allow_payment_request_ = !value.IsNull();
|
| - if (allow_payment_request_ != old_allow_payment_request)
|
| + if (allow_payment_request_ != old_allow_payment_request) {
|
| FrameOwnerPropertiesChanged();
|
| + UpdateContainerPolicy();
|
| + }
|
| } else if (RuntimeEnabledFeatures::embedderCSPEnforcementEnabled() &&
|
| name == cspAttr) {
|
| // TODO(amalika): add more robust validation of the value
|
| @@ -214,6 +217,7 @@ void HTMLIFrameElement::AllowValueWasSet() {
|
| }
|
| SetSynchronizedLazyAttribute(allowAttr, allow_->value());
|
| FrameOwnerPropertiesChanged();
|
| + UpdateContainerPolicy();
|
| }
|
|
|
| ReferrerPolicy HTMLIFrameElement::ReferrerPolicyAttribute() {
|
|
|