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

Unified Diff: LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi

Issue 249563003: REGRESSION(r171966): Custom elements in async imports don't get upgrade. (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
Index: LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi
diff --git a/LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi b/LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi
index 5dae3b5507850220e9cab49f4f9fb649001ec06f..3a6d697de6a87c1a38241e957570cb4c4f191e2d 100755
--- a/LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi
+++ b/LayoutTests/http/tests/htmlimports/resources/import-slow-child.cgi
@@ -1,10 +1,9 @@
#!/usr/bin/perl -wT
use strict;
+use Time::HiRes qw(sleep);
print "Content-Type: text/html\n\n";
-# If you want to make things super predictable, this will help for the cost of slowness.
-# In practice, CGI invocation overhead is sufficiently slow.
-# sleep 1;
+sleep 0.2;
print <<EOF
<script>
window.childLoaded = true;

Powered by Google App Engine
This is Rietveld 408576698