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

Unified Diff: Source/WebCore/xml/parser/XMLDocumentParserQt.cpp

Issue 14297020: Merge 147281 "Cross-Origin copy&paste / drag&drop allowing XSS v..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1453/
Patch Set: Created 7 years, 8 months 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
« no previous file with comments | « Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/xml/parser/XMLDocumentParserQt.cpp
===================================================================
--- Source/WebCore/xml/parser/XMLDocumentParserQt.cpp (revision 148876)
+++ Source/WebCore/xml/parser/XMLDocumentParserQt.cpp (working copy)
@@ -67,7 +67,7 @@
static inline void setAttributes(Element* element, Vector<Attribute>& attributeVector, ParserContentPolicy parserContentPolicy)
{
if (!scriptingContentIsAllowed(parserContentPolicy))
- element->stripJavaScriptAttributes(attributeVector);
+ element->stripScriptingAttributes(attributeVector);
element->parserSetAttributes(attributeVector);
}
« no previous file with comments | « Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698