| Index: Source/WebCore/dom/ScriptElement.cpp
|
| diff --git a/Source/WebCore/dom/ScriptElement.cpp b/Source/WebCore/dom/ScriptElement.cpp
|
| index ca47d5f7cf1bb84b09f89605032171321be196eb..40d52b3ef6f0403e662f53364c8b88a2c4bc9f23 100644
|
| --- a/Source/WebCore/dom/ScriptElement.cpp
|
| +++ b/Source/WebCore/dom/ScriptElement.cpp
|
| @@ -331,6 +331,11 @@ void ScriptElement::execute(CachedScript* cachedScript)
|
|
|
| void ScriptElement::notifyFinished(CachedResource* o)
|
| {
|
| + // crbug.com/75604 causes double notification in some situations, disregarding the second notification
|
| + // is a workaround.
|
| + if (!m_cachedScript)
|
| + return;
|
| +
|
| ASSERT(!m_willBeParserExecuted);
|
| ASSERT_UNUSED(o, o == m_cachedScript);
|
| if (m_willExecuteInOrder)
|
|
|