Index: Source/WebCore/html/parser/XSSAuditor.h |
=================================================================== |
--- Source/WebCore/html/parser/XSSAuditor.h (revision 110728) |
+++ Source/WebCore/html/parser/XSSAuditor.h (working copy) |
@@ -71,9 +71,10 @@ |
bool eraseDangerousAttributesIfInjected(HTMLToken&); |
bool eraseAttributeIfInjected(HTMLToken&, const QualifiedName&, const String& replacementValue = String(), AttributeKind treatment = NormalAttribute); |
- String snippetForRange(const HTMLToken&, int start, int end); |
- String snippetForJavaScript(const String&); |
+ String decodedSnippetForToken(const HTMLToken&); |
+ String decodedSnippetForName(const HTMLToken&); |
String decodedSnippetForAttribute(const HTMLToken&, const HTMLToken::Attribute&, AttributeKind treatment = NormalAttribute); |
+ String decodedSnippetForJavaScript(const HTMLToken&); |
bool isContainedInRequest(const String&); |
bool isSameOriginResource(const String& url); |
@@ -87,7 +88,7 @@ |
OwnPtr<SuffixTree<ASCIICodebook> > m_decodedHTTPBodySuffixTree; |
State m_state; |
- String m_cachedSnippet; |
+ String m_cachedDecodedSnippet; |
bool m_notifiedClient; |
}; |