Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(942)

Unified Diff: Source/core/html/parser/HTMLParserOptions.cpp

Issue 254343002: Send <iframe srcdoc> to the threaded parser (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/parser/HTMLParserOptions.cpp
diff --git a/Source/core/html/parser/HTMLParserOptions.cpp b/Source/core/html/parser/HTMLParserOptions.cpp
index 717a1d89e1de8f62f7d6a348899a084d4a699910..6ff1f1196619a5913b9caa1189553d6369473e7b 100644
--- a/Source/core/html/parser/HTMLParserOptions.cpp
+++ b/Source/core/html/parser/HTMLParserOptions.cpp
@@ -45,8 +45,7 @@ HTMLParserOptions::HTMLParserOptions(Document* document)
// with historical synchronous loading/parsing behavior.
// FIXME: Gecko does not load javascript: urls synchronously, why do we?
// See LayoutTests/loader/iframe-sync-loads.html
- // FIXME: Use isAboutBlankURL() instead of protocolIsAbout() to not include about:srcdoc.
- useThreading = settings && settings->threadedHTMLParser() && !document->url().protocolIsAbout();
+ useThreading = settings && settings->threadedHTMLParser() && !document->url().isAboutBlankURL();
abarth-chromium 2014/04/23 21:49:20 We should drop this setting too.
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698