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

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

Issue 2369853002: HTML parser: implementing throw-on-dynamic-markup-insertion counter (Closed)
Patch Set: reentry permit check Created 4 years, 3 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
Index: third_party/WebKit/Source/core/dom/Document.h
diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
index 6cb1b96f7fd90e1a2c6397242f13150f8f74b5c4..c400aaab848d962da37d6d9e2a1055623c478f99 100644
--- a/third_party/WebKit/Source/core/dom/Document.h
+++ b/third_party/WebKit/Source/core/dom/Document.h
@@ -1124,6 +1124,7 @@ protected:
private:
friend class IgnoreDestructiveWriteCountIncrementer;
+ friend class ThrowOnDynamicMarkupInsertionCountIncrementer;
friend class NthIndexCache;
bool isDocumentFragment() const = delete; // This will catch anyone doing an unnecessary check.
@@ -1295,6 +1296,7 @@ private:
// http://www.whatwg.org/specs/web-apps/current-work/#ignore-destructive-writes-counter
unsigned m_ignoreDestructiveWriteCount;
+ unsigned m_throwOnDynamicMarkupInsertionCount;
dominicc (has gone to gerrit) 2016/09/28 08:01:03 Maybe add a link to this in the spec, like ignoreD
String m_title;
String m_rawTitle;

Powered by Google App Engine
This is Rietveld 408576698