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

Side by Side Diff: LayoutTests/http/tests/ManualTests/fouc/resources/slow-green.cgi

Issue 279463002: HTML Imports: Fix yet another FOUC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 #!/usr/bin/perl -wT 1 #!/usr/bin/perl -wT
2 use strict; 2 use strict;
3 3
4 print "Content-Type: text/javascript\n\n"; 4 print "Content-Type: text/html\n\n";
5 # If you want to make things super predictable, this will help for the cost of s lowness. 5 # If you want to make things super predictable, this will help for the cost of s lowness.
6 # In practice, CGI invocation overhead is sufficiently slow. 6 # In practice, CGI invocation overhead is sufficiently slow.
7 # sleep 1; 7 sleep 1;
8 print <<EOF 8 print <<EOF
9 blockingScriptHasRun = true; 9 <style>
10 #test {
11 background: green;
12 }
13 </style>
10 EOF 14 EOF
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698