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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/infrastructure/reftest-wait.html

Issue 2729863004: Support reftest-wait in web-platform-tests (Closed)
Patch Set: Add TestExpectations entry Created 3 years, 9 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/external/wpt/infrastructure/reftest-wait.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/infrastructure/reftest-wait.html b/third_party/WebKit/LayoutTests/external/wpt/infrastructure/reftest-wait.html
new file mode 100644
index 0000000000000000000000000000000000000000..c2e9986ad85dde0483a553459964a0345399a782
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/external/wpt/infrastructure/reftest-wait.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<title>Test infrastructure should support 'reftest-wait'</title>
+<link rel="match" href="reftest-wait-ref.html">
+<style>
+.marker {
+ margin-bottom: 10px;
+ background: red;
+ height: 50px;
+ width: 50px;
+}
+</style>
+<script>
+setTimeout(function() {
+ document.querySelector(".marker").style.background = 'green';
+ document.documentElement.classList.remove("reftest-wait");
+}, 1000);
+</script>
+<div class="marker"></div>
+<div>The box above should be green.</div>
+</html>

Powered by Google App Engine
This is Rietveld 408576698