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(); |