mirror of
https://github.com/servo/servo.git
synced 2025-08-18 20:05:34 +01:00
Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a
This commit is contained in:
parent
847115ba04
commit
816185f094
272 changed files with 5766 additions and 2855 deletions
4
tests/wpt/web-platform-tests/infrastructure/OWNERS
Normal file
4
tests/wpt/web-platform-tests/infrastructure/OWNERS
Normal file
|
@ -0,0 +1,4 @@
|
|||
@gsnedders
|
||||
@jgraham
|
||||
@jugglinmike
|
||||
@kereliuk
|
|
@ -0,0 +1,7 @@
|
|||
<title>Ensure that setting gecko prefs works</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
assert_equals(getComputedStyle(document.documentElement).color, "rgb(0, 255, 0)")
|
||||
</script>
|
||||
<p>This should be green</p>
|
|
@ -0,0 +1,2 @@
|
|||
disabled:
|
||||
if product != "firefox": true
|
|
@ -0,0 +1,2 @@
|
|||
[prefs.html]
|
||||
prefs: ["browser.display.foreground_color:#00FF00"]
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_and_fail.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_cycle_fail.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_match_fail.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_mismatch_fail.html]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_ref_timeout.html]
|
||||
type: reftest
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,3 @@
|
|||
[reftest_timeout.html]
|
||||
type: reftest
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,4 @@
|
|||
<link rel=match href=green.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,3 @@
|
|||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,3 @@
|
|||
<style>
|
||||
:root {background-color:red}
|
||||
</style>
|
|
@ -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>
|
|
@ -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>
|
|
@ -0,0 +1,5 @@
|
|||
<title>Reftest chain that should fail</title>
|
||||
<link rel=match href=red.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -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>
|
|
@ -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>
|
|
@ -0,0 +1,5 @@
|
|||
<title>Reftest with cycle, all match</title>
|
||||
<link rel=match href=reftest_cycle.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -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>
|
|
@ -0,0 +1,5 @@
|
|||
<title>Reftest with cycle, fails</title>
|
||||
<link rel=mismatch href=reftest_cycle_fail.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,5 @@
|
|||
<title>rel=match that should pass</title>
|
||||
<link rel=match href=green.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,5 @@
|
|||
<title>rel=match that should fail</title>
|
||||
<link rel=match href=red.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,5 @@
|
|||
<title>rel=mismatch that should pass</title>
|
||||
<link rel=mismatch href=red.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -0,0 +1,5 @@
|
|||
<title>rel=mismatch that should fail</title>
|
||||
<link rel=mismatch href=green.html>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -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>
|
|
@ -0,0 +1,5 @@
|
|||
<html class="reftest-wait">
|
||||
<title>rel=match that should time out in the ref</title>
|
||||
<style>
|
||||
:root {background-color:green}
|
||||
</style>
|
|
@ -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>
|
|
@ -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>
|
|
@ -0,0 +1,13 @@
|
|||
<html class="reftest-wait">
|
||||
<title>Test with reftest-wait</title>
|
||||
<link rel=match href=green.html>
|
||||
<style>
|
||||
:root {background-color:red}
|
||||
</style>
|
||||
<script>
|
||||
setTimeout(function() {
|
||||
document.documentElement.style.backgroundColor = "green";
|
||||
document.documentElement.className = "";
|
||||
}, 2000);
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue