| Index: Source/core/html/imports/HTMLImportStateResolver.cpp
|
| diff --git a/Source/core/html/imports/HTMLImportStateResolver.cpp b/Source/core/html/imports/HTMLImportStateResolver.cpp
|
| index 593b174c86e9841405dd37e7234f9a51ca3fc0fd..bd083ad51017512e6f430a5ad1c36a2eb6e6165f 100644
|
| --- a/Source/core/html/imports/HTMLImportStateResolver.cpp
|
| +++ b/Source/core/html/imports/HTMLImportStateResolver.cpp
|
| @@ -37,6 +37,8 @@ namespace WebCore {
|
|
|
| inline bool HTMLImportStateResolver::isBlockingFollowers(HTMLImport* import)
|
| {
|
| + if (!import->isSync())
|
| + return false;
|
| if (!import->loader())
|
| return true;
|
| return !import->state().isReady();
|
| @@ -50,7 +52,7 @@ inline bool HTMLImportStateResolver::shouldBlockScriptExecution() const
|
| }
|
|
|
| for (HTMLImport* child = m_import->firstChild(); child; child = child->next()) {
|
| - if (child->isSync() && isBlockingFollowers(child))
|
| + if (isBlockingFollowers(child))
|
| return true;
|
| }
|
|
|
|
|