| Index: Source/core/html/parser/HTMLScriptRunner.cpp
|
| diff --git a/Source/core/html/parser/HTMLScriptRunner.cpp b/Source/core/html/parser/HTMLScriptRunner.cpp
|
| index 1cb6555c24302563b70b8f8141c92779099b83e1..c8b9c6c27c7c249580a1311b6283b399f930d481 100644
|
| --- a/Source/core/html/parser/HTMLScriptRunner.cpp
|
| +++ b/Source/core/html/parser/HTMLScriptRunner.cpp
|
| @@ -137,8 +137,8 @@ void HTMLScriptRunner::executePendingScriptAndDispatchEvent(PendingScript& pendi
|
| scriptLoader->dispatchErrorEvent();
|
| else {
|
| ASSERT(isExecutingScript());
|
| - if (scriptLoader->executePotentiallyCrossOriginScript(sourceCode))
|
| - element->dispatchEvent(createScriptLoadEvent());
|
| + scriptLoader->executeScript(sourceCode);
|
| + element->dispatchEvent(createScriptLoadEvent());
|
| }
|
| }
|
| ASSERT(!isExecutingScript());
|
|
|