mirror of
https://github.com/servo/servo.git
synced 2025-08-28 00:28:20 +01:00
Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee
This commit is contained in:
parent
fe1a057bd1
commit
24183668c4
1960 changed files with 29853 additions and 10555 deletions
|
@ -3,5 +3,6 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
assert_equals(getComputedStyle(document.documentElement).color, "rgb(0, 255, 0)")
|
||||
done();
|
||||
</script>
|
||||
<p>This should be green</p>
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset=utf-8>
|
||||
<title>Test that should time out</title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script>
|
||||
async_test()
|
||||
</script>
|
|
@ -0,0 +1,4 @@
|
|||
[timeout.html]
|
||||
expected: TIMEOUT
|
||||
[Test that should time out]
|
||||
expected: NOTRUN
|
|
@ -120,6 +120,22 @@ async_test(function(t) {
|
|||
}));
|
||||
}, 'HTTP protocol, punycode subdomain #2, port #2');
|
||||
|
||||
async_test(function(t) {
|
||||
check('http', 'nonexistent.{{domains[]}}', {{ports[http][0]}}, t.step_func(function(result) {
|
||||
assert_false(result);
|
||||
|
||||
t.done();
|
||||
}));
|
||||
}, 'HTTP protocol, non-existent domain, port #1');
|
||||
|
||||
async_test(function(t) {
|
||||
check('http', 'nonexistent.{{domains[]}}', {{ports[http][1]}}, t.step_func(function(result) {
|
||||
assert_false(result);
|
||||
|
||||
t.done();
|
||||
}));
|
||||
}, 'HTTP protocol, non-existent domain, port #2');
|
||||
|
||||
async_test(function(t) {
|
||||
check('https', '{{browser_host}}', {{ports[https][0]}}, t.step_func(function(result) {
|
||||
assert_true(result);
|
||||
|
@ -167,6 +183,22 @@ async_test(function(t) {
|
|||
t.done();
|
||||
}));
|
||||
}, 'HTTPS protocol, punycode subdomain #2');
|
||||
|
||||
async_test(function(t) {
|
||||
check('https', 'nonexistent.{{domains[]}}', {{ports[http][0]}}, t.step_func(function(result) {
|
||||
assert_false(result);
|
||||
|
||||
t.done();
|
||||
}));
|
||||
}, 'HTTPS protocol, non-existent domain, port #1');
|
||||
|
||||
async_test(function(t) {
|
||||
check('https', 'nonexistent.{{domains[]}}', {{ports[http][1]}}, t.step_func(function(result) {
|
||||
assert_false(result);
|
||||
|
||||
t.done();
|
||||
}));
|
||||
}, 'HTTPS protocol, non-existent domain, port #2');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue