Chromium Code Reviews
DescriptionScript blocking resources tracking should be only done by Document::isScriptExecutionReady
Before this CL, we had a duplicated tracking flag
HTMLScriptRunner::m_hasScriptsWaitingForResources.
This CL removes the flag in HTMLScriptRunner and changes code so it checks
Document::isScriptExecutionReady() state instead.
This CL also removes a comment referring to HTMLDocumentParser::executeScriptsWaitingForResources
being called when it hasScriptsWaitingForResources as it should never happen
and replaces it with a DCHECK
BUG=None
Committed: https://crrev.com/74341a4386cbe0c0b94eba0535fbbbf8d1aff8ea
Cr-Commit-Position: refs/heads/master@{#434935}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : confirm lastchunkbeforescript #
Total comments: 1
Messages
Total messages: 22 (14 generated)
|
|||||||||||||||||||||||||||||||||||||