| Index: Source/core/html/parser/HTMLParserOptions.cpp
|
| diff --git a/Source/core/html/parser/HTMLParserOptions.cpp b/Source/core/html/parser/HTMLParserOptions.cpp
|
| index 150eed25ce8be1025024e6291e0635397054e62a..692af99167be60ac74142abf46282cb1f441a3f1 100644
|
| --- a/Source/core/html/parser/HTMLParserOptions.cpp
|
| +++ b/Source/core/html/parser/HTMLParserOptions.cpp
|
| @@ -41,10 +41,11 @@ HTMLParserOptions::HTMLParserOptions(Document* document)
|
| pluginsEnabled = frame && frame->loader().allowPlugins(NotAboutToInstantiatePlugin);
|
|
|
| Settings* settings = document ? document->settings() : 0;
|
| - // We force the main-thread parser for about:blank, javascript: and data: urls for compatibility
|
| - // with historical synchronous loading/parsing behavior of those schemes.
|
| - useThreading = settings && settings->threadedHTMLParser() && !document->url().isBlankURL()
|
| - && (settings->useThreadedHTMLParserForDataURLs() || !document->url().protocolIsData());
|
| + // We force the main-thread parser for about:blank and javascript: for compatibility
|
| + // with historical synchronous loading/parsing behavior.
|
| + // FIXME: Gecko does not load javascript: urls synchronously, why do we?
|
| + // See LayoutTests/loader/iframe-sync-loads.html
|
| + useThreading = settings && settings->threadedHTMLParser() && !document->url().isBlankURL();
|
| }
|
|
|
| }
|
|
|