Revert of Script blocking resources tracking should be only done by...
Revert of Script blocking resources tracking should be only done by Document::isScriptExecutionReady (patchset #3 id:40001 of https://codereview.chromium.org/2536753003/ ) Reason for revert: Speculative revert for crbug.com/669435. BUG=669435 Original issue's description: > Script 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} TBR=dominicc@chromium.org,yhirano@chromium.org,kouhei@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=None Review-Url: https://codereview.chromium.org/2540653002 Cr-Commit-Position: refs/heads/master@{#434960}
Showing
Please register or sign in to comment