Fix XFrameOptions and xssAuditor crashes in HTML5 parser
Created attachment 58085 [details]
Comment on attachment 58085 [details]
+ *m_counter = *m_counter + 1;
+ *m_counter = *m_counter - 1;
-= 1? -- and ++ might work for (*m_counter)++, i' not sure.
+ NestingLevelIncrementer nestingLevelIncrementer(m_writeNestingLevel);
Seems like we want to use this in other places too eventually. :)
+ if (!m_source.isEmpty() || isWaitingForScripts() || executingScript() || !m_endWasDelayed)
m_endWasDelayed should be the first check, not the last.
+ m_endWasDelayed = false;
Do we need to ASSERT in the destructor that we did end?
Seems better than we currently have, but probably not perfect yet.
Committed r60802: <http://trac.webkit.org/changeset/60802>