| Index: Source/core/html/HTMLImageElement.cpp
|
| diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
|
| index 70a16ac665d5896c90f50c4bdae7cbba79361744..fdef0d1c1565fdaa67511ef26c0f642022a15324 100644
|
| --- a/Source/core/html/HTMLImageElement.cpp
|
| +++ b/Source/core/html/HTMLImageElement.cpp
|
| @@ -270,7 +270,7 @@ void HTMLImageElement::parseAttribute(const QualifiedName& name, const AtomicStr
|
| selectSourceURL(ImageLoader::UpdateIgnorePreviousError);
|
| } else if (name == usemapAttr) {
|
| setIsLink(!value.isNull());
|
| - } else if (name == referrerpolicyAttr) {
|
| + } else if (RuntimeEnabledFeatures::referrerPolicyAttributeEnabled() && name == referrerpolicyAttr) {
|
| m_referrerPolicy = ReferrerPolicyDefault;
|
| if (!value.isNull())
|
| SecurityPolicy::referrerPolicyFromString(value, &m_referrerPolicy);
|
|
|