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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h

Issue 2576373002: Fix HTML parser CDATA edge-case and sync state names with spec (Closed)
Patch Set: Created 4 years 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/html/parser/HTMLTokenizer.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
index a9556b83277db77c5f201473c73a8f722ac552e6..c8ce59d35ebddd59373c3473a40c2e574f3400d4 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLTokenizer.h
@@ -123,9 +123,8 @@ class CORE_EXPORT HTMLTokenizer {
AfterDOCTYPESystemIdentifierState,
BogusDOCTYPEState,
CDATASectionState,
- // These CDATA states are not in the HTML5 spec, but we use them internally.
- CDATASectionRightSquareBracketState,
- CDATASectionDoubleRightSquareBracketState,
+ CDATASectionBracketState,
+ CDATASectionEndState,
};
// This function returns true if it emits a token. Otherwise, callers

Powered by Google App Engine
This is Rietveld 408576698