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

Unified Diff: LayoutTests/http/tests/loading/preload-image-src-expected.txt

Issue 1203143002: Do not preload data URIs. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added TODO and layout test case Created 5 years, 6 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
Index: LayoutTests/http/tests/loading/preload-image-src-expected.txt
diff --git a/LayoutTests/http/tests/loading/preload-image-src-expected.txt b/LayoutTests/http/tests/loading/preload-image-src-expected.txt
index 06c3cef6fdc75e527e498892f4fdeee5ec12a216..c5f62027bbcdb34eb229b47d1787a4e4d79f5ce5 100644
--- a/LayoutTests/http/tests/loading/preload-image-src-expected.txt
+++ b/LayoutTests/http/tests/loading/preload-image-src-expected.txt
@@ -6,8 +6,9 @@ main frame - didFinishLoadForFrame
PASS internals.isPreloaded('resources/base-image1.png'); is true
PASS internals.isPreloaded('resources/base-image2.png'); is true
PASS internals.isPreloaded('resources/base-image3.png'); is false
+PASS internals.isPreloaded('data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=='); is false
PASS successfullyParsed is true
TEST COMPLETE
-This test passes if the image (defined in the src attribute) is preloaded.
-
+This test passes if the image (defined in the src attribute) is preloaded, except for data URI.
+
« no previous file with comments | « LayoutTests/http/tests/loading/preload-image-src.html ('k') | Source/core/html/parser/HTMLResourcePreloader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698