| Index: third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebFrameSerializer.cpp b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| index e5a0d1fce3f19fe0b1b51f532f1119134e0e52e5..706ed048be0bc05b8896f53f55c6d5bbc47dca72 100644
|
| --- a/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| +++ b/third_party/WebKit/Source/web/WebFrameSerializer.cpp
|
| @@ -195,6 +195,13 @@ bool MHTMLFrameSerializerDelegate::ShouldIgnoreAttribute(
|
| if (attribute.LocalName() == HTMLNames::srcsetAttr)
|
| return true;
|
|
|
| + // Do not save ping attribute since anyway the ping will be blocked from
|
| + // MHTML.
|
| + if (isHTMLAnchorElement(element) &&
|
| + attribute.LocalName() == HTMLNames::pingAttr) {
|
| + return true;
|
| + }
|
| +
|
| // If srcdoc attribute for frame elements will be rewritten as src attribute
|
| // containing link instead of html contents, don't ignore the attribute.
|
| // Bail out now to avoid the check in Element::isScriptingAttribute.
|
|
|