Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Unified Diff: third_party/WebKit/Source/core/dom/Element.h

Issue 2531163004: Remove attributes that contain javascript from MHTML (Closed)
Patch Set: Address feedback Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/Element.h
diff --git a/third_party/WebKit/Source/core/dom/Element.h b/third_party/WebKit/Source/core/dom/Element.h
index 208585d7af83e48a1ed63bc2b1436893cec7586d..602f29cf86311bbb0e8d990ed9e6ba16ad63766b 100644
--- a/third_party/WebKit/Source/core/dom/Element.h
+++ b/third_party/WebKit/Source/core/dom/Element.h
@@ -475,6 +475,7 @@ class CORE_EXPORT Element : public ContainerNode {
const Attribute&) const {
return false;
}
+ bool isScriptingAttribute(const Attribute&) const;
virtual bool isLiveLink() const { return false; }
KURL hrefURL() const;

Powered by Google App Engine
This is Rietveld 408576698