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

Unified Diff: trunk/Source/core/html/parser/HTMLScriptRunner.cpp

Issue 201673005: Revert 169577 "[HTML Import] Let script block by pending resourc..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « trunk/Source/core/html/imports/HTMLImportsController.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/html/parser/HTMLScriptRunner.cpp
===================================================================
--- trunk/Source/core/html/parser/HTMLScriptRunner.cpp (revision 169768)
+++ trunk/Source/core/html/parser/HTMLScriptRunner.cpp (working copy)
@@ -125,12 +125,8 @@
if (pendingScript.resource() && pendingScript.watchingForLoad())
stopWatchingForLoad(pendingScript);
- if (!isExecutingScript()) {
+ if (!isExecutingScript())
Microtask::performCheckpoint();
- m_hasScriptsWaitingForResources = !m_document->haveStylesheetsAndImportsLoaded();
- if (m_hasScriptsWaitingForResources)
- return;
- }
// Clear the pending script before possible rentrancy from executeScript()
RefPtr<Element> element = pendingScript.releaseElementAndClear();
« no previous file with comments | « trunk/Source/core/html/imports/HTMLImportsController.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698