| Index: Source/core/html/parser/HTMLParserOptions.cpp
|
| diff --git a/Source/core/html/parser/HTMLParserOptions.cpp b/Source/core/html/parser/HTMLParserOptions.cpp
|
| index 1eca29df0c505d79d25da3ec729f4e43be9e95b8..494909b500a1afd66a2eaafd60d0b4a55ce3323c 100644
|
| --- a/Source/core/html/parser/HTMLParserOptions.cpp
|
| +++ b/Source/core/html/parser/HTMLParserOptions.cpp
|
| @@ -39,15 +39,7 @@ HTMLParserOptions::HTMLParserOptions(Document* document)
|
| LocalFrame* frame = document ? document->frame() : 0;
|
| scriptEnabled = frame && frame->script().canExecuteScripts(NotAboutToExecuteScript);
|
| pluginsEnabled = frame && frame->loader().allowPlugins(NotAboutToInstantiatePlugin);
|
| -
|
| - // We force the main-thread parser for three cases:
|
| - // - about:blank and javascript (which uses about:blank) for compatibility
|
| - // with historical synchronous loading/parsing behavior.
|
| - // - inspector/DOMPatchSupport replacing the whole document.
|
| - // (DOMPatchSupport calls in |DocumentParser::pinToMainThread()| for this case)
|
| - // FIXME: Gecko does not load javascript: urls synchronously, why do we?
|
| - // See LayoutTests/loader/iframe-sync-loads.html
|
| - useThreading = document && !document->url().isAboutBlankURL();
|
| + useThreading = true;
|
| }
|
|
|
| }
|
|
|