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

Unified Diff: Source/core/html/imports/HTMLImportsController.cpp

Issue 202813002: [HTML Import] Let script block by pending resources created by lifecycle callback (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Landing 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
Index: Source/core/html/imports/HTMLImportsController.cpp
diff --git a/Source/core/html/imports/HTMLImportsController.cpp b/Source/core/html/imports/HTMLImportsController.cpp
index b7d0f26c98d1355927b82b2034b417d1d5440941..5120efab9f238d98c5e8b427941cc50ce361d808 100644
--- a/Source/core/html/imports/HTMLImportsController.cpp
+++ b/Source/core/html/imports/HTMLImportsController.cpp
@@ -148,7 +148,7 @@ bool HTMLImportsController::hasLoader() const
bool HTMLImportsController::isDone() const
{
- return !m_master->parsing();
+ return !m_master->parsing() && m_master->haveStylesheetsLoaded();
}
void HTMLImportsController::stateDidChange()

Powered by Google App Engine
This is Rietveld 408576698