| Index: Source/core/html/parser/HTMLScriptRunner.cpp
|
| diff --git a/Source/core/html/parser/HTMLScriptRunner.cpp b/Source/core/html/parser/HTMLScriptRunner.cpp
|
| index 1aab3b520320027747c766dcacd4a65ade473399..3c94f9ffd9f05abc98fd4b4d26427dc23a560fc5 100644
|
| --- a/Source/core/html/parser/HTMLScriptRunner.cpp
|
| +++ b/Source/core/html/parser/HTMLScriptRunner.cpp
|
| @@ -130,9 +130,7 @@ void HTMLScriptRunner::executePendingScriptAndDispatchEvent(PendingScript& pendi
|
| stopWatchingForLoad(pendingScript);
|
|
|
| if (!isExecutingScript()) {
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| CustomElementRegistry::deliverAllLifecycleCallbacks();
|
| -#endif
|
| MutationObserver::deliverAllMutations();
|
| }
|
|
|
| @@ -298,9 +296,7 @@ void HTMLScriptRunner::runScript(Element* script, const TextPosition& scriptStar
|
| // unfortuantely no obvious way to tell if prepareScript is going to
|
| // execute the script from out here.
|
| if (!isExecutingScript()) {
|
| -#if ENABLE(CUSTOM_ELEMENTS)
|
| CustomElementRegistry::deliverAllLifecycleCallbacks();
|
| -#endif
|
| MutationObserver::deliverAllMutations();
|
| }
|
|
|
|
|