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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-no-store.pl

Issue 2121973002: Fallback to 300x150 instead of 0x0 size for SVG inside content() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 4 years, 5 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 | third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-no-store.pl
diff --git a/third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-slow.pl b/third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-no-store.pl
similarity index 80%
copy from third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-slow.pl
copy to third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-no-store.pl
index 693e46a5b6559a47992e9bfedf8696dbd996d13f..a1e5ca07cef6beaab7fcd26e961d7e5074ad90aa 100755
--- a/third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-slow.pl
+++ b/third_party/WebKit/LayoutTests/http/tests/misc/resources/svg-no-store.pl
@@ -1,17 +1,11 @@
#!/usr/bin/perl -wT
-# flush the buffers after each print
-select (STDOUT);
-$| = 1;
-
print "Content-Type: image/svg+xml\r\n";
print "Expires: Thu, 01 Dec 2003 16:00:00 GMT\r\n";
print "Cache-Control: no-store, no-cache, must-revalidate\r\n";
print "Pragma: no-cache\r\n";
print "\r\n";
-sleep 2;
-
open(FILE, "embedded.svg");
while (<FILE>) {
print $_;
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/misc/svg-image-in-content.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698