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

Unified Diff: third_party/WebKit/LayoutTests/imported/wpt/common/reftest-wait.js

Issue 2015623004: Import wpt@ed94c51f3dfaa5ff4c9c311add1a560408059c51 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/imported/wpt/common/reftest-wait.js
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/common/reftest-wait.js b/third_party/WebKit/LayoutTests/imported/wpt/common/reftest-wait.js
new file mode 100644
index 0000000000000000000000000000000000000000..87816f8345225dee5320a02f97954455713e3c78
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/imported/wpt/common/reftest-wait.js
@@ -0,0 +1,9 @@
+function takeScreenshot() {
+ document.documentElement.classList.remove("reftest-wait");
+}
+
+function takeScreenshotDelayed(timeout) {
+ setTimeout(function() {
+ takeScreenshot();
+ }, timeout);
+}

Powered by Google App Engine
This is Rietveld 408576698