summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/harness/test/testdata/reftest
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/harness/test/testdata/reftest
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/harness/test/testdata/reftest')
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/green-ref.html4
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/green.html3
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/red.html3
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest.https.html9
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_and_fail.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_and_fail_0-ref.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_cycle.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_cycle_0-ref.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_cycle_1-ref.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail_0-ref.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_match.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_match_fail.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_mismatch.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_mismatch_fail.html5
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_or_0.html6
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout-ref.html6
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout.html6
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_timeout.html6
-rw-r--r--testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html11
20 files changed, 109 insertions, 0 deletions
diff --git a/testing/web-platform/harness/test/testdata/reftest/green-ref.html b/testing/web-platform/harness/test/testdata/reftest/green-ref.html
new file mode 100644
index 000000000..0e145d60b
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/green-ref.html
@@ -0,0 +1,4 @@
+<link rel=match href=green.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/green.html b/testing/web-platform/harness/test/testdata/reftest/green.html
new file mode 100644
index 000000000..38167bb58
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/green.html
@@ -0,0 +1,3 @@
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/red.html b/testing/web-platform/harness/test/testdata/reftest/red.html
new file mode 100644
index 000000000..2b677e006
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/red.html
@@ -0,0 +1,3 @@
+<style>
+:root {background-color:red}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest.https.html b/testing/web-platform/harness/test/testdata/reftest/reftest.https.html
new file mode 100644
index 000000000..5a45f10f3
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest.https.html
@@ -0,0 +1,9 @@
+<link rel=match href=green.html>
+<style>
+:root {background-color:red}
+</style>
+<script>
+if (window.location.protocol === "https:") {
+ document.documentElement.style.backgroundColor = "green";
+}
+</script> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail.html b/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail.html
new file mode 100644
index 000000000..296019535
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail.html
@@ -0,0 +1,5 @@
+<title>Reftest chain that should fail</title>
+<link rel=match href=reftest_and_fail_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail_0-ref.html b/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail_0-ref.html
new file mode 100644
index 000000000..04fb9aa15
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_and_fail_0-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest chain that should fail</title>
+<link rel=match href=red.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_cycle.html b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle.html
new file mode 100644
index 000000000..4a84a3b67
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, all match</title>
+<link rel=match href=reftest_cycle_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_0-ref.html b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_0-ref.html
new file mode 100644
index 000000000..118bfd884
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_0-ref.html
@@ -0,0 +1,5 @@
+<title>OR match that should pass</title>
+<link rel=match href=reftest_cycle_1-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_1-ref.html b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_1-ref.html
new file mode 100644
index 000000000..59be0b641
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_1-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, all match</title>
+<link rel=match href=reftest_cycle.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail.html b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail.html
new file mode 100644
index 000000000..175e76c4c
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, fails</title>
+<link rel=match href=reftest_cycle_fail_0-ref.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail_0-ref.html b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail_0-ref.html
new file mode 100644
index 000000000..c8e548c46
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_cycle_fail_0-ref.html
@@ -0,0 +1,5 @@
+<title>Reftest with cycle, fails</title>
+<link rel=mismatch href=reftest_cycle_fail.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_match.html b/testing/web-platform/harness/test/testdata/reftest/reftest_match.html
new file mode 100644
index 000000000..333cc6c1e
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_match.html
@@ -0,0 +1,5 @@
+<title>rel=match that should pass</title>
+<link rel=match href=green.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_match_fail.html b/testing/web-platform/harness/test/testdata/reftest/reftest_match_fail.html
new file mode 100644
index 000000000..a9272ef74
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_match_fail.html
@@ -0,0 +1,5 @@
+<title>rel=match that should fail</title>
+<link rel=match href=red.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch.html b/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch.html
new file mode 100644
index 000000000..af5fa0750
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch.html
@@ -0,0 +1,5 @@
+<title>rel=mismatch that should pass</title>
+<link rel=mismatch href=red.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch_fail.html b/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch_fail.html
new file mode 100644
index 000000000..8d160c4fc
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_mismatch_fail.html
@@ -0,0 +1,5 @@
+<title>rel=mismatch that should fail</title>
+<link rel=mismatch href=green.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_or_0.html b/testing/web-platform/harness/test/testdata/reftest/reftest_or_0.html
new file mode 100644
index 000000000..3a51de216
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_or_0.html
@@ -0,0 +1,6 @@
+<title>OR match that should pass</title>
+<link rel=match href=red.html>
+<link rel=match href=green.html>
+<style>
+:root {background-color:green}
+</style> \ No newline at end of file
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout-ref.html b/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout-ref.html
new file mode 100644
index 000000000..04cbb71e0
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout-ref.html
@@ -0,0 +1,6 @@
+<html class="reftest-wait">
+<title>rel=match that should time out in the ref</title>
+<link rel=match href=reftest_ref_timeout-ref.html>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout.html b/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout.html
new file mode 100644
index 000000000..aaf68f5cb
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_ref_timeout.html
@@ -0,0 +1,6 @@
+<html>
+<title>rel=match that should time out in the ref</title>
+<link rel=match href=reftest_ref_timeout-ref.html>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_timeout.html b/testing/web-platform/harness/test/testdata/reftest/reftest_timeout.html
new file mode 100644
index 000000000..b10e676bf
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_timeout.html
@@ -0,0 +1,6 @@
+<html class="reftest-wait">
+<title>rel=match that should timeout</title>
+<link rel=match href=green.html>
+<style>
+:root {background-color:green}
+</style>
diff --git a/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html b/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html
new file mode 100644
index 000000000..0088c0cab
--- /dev/null
+++ b/testing/web-platform/harness/test/testdata/reftest/reftest_wait_0.html
@@ -0,0 +1,11 @@
+<title>rel=match that should fail</title>
+<link rel=match href=red.html>
+<style>
+:root {background-color:red}
+</style>
+<body class="reftest-wait">
+<script>
+setTimeout(function() {
+ document.documentElement.style.backgroundColor = "green";
+ body.className = "";
+}, 2000); \ No newline at end of file