Navigation Menu

Skip to content

Commit

Permalink
Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d1…
Browse files Browse the repository at this point in the history
…44fd4b560
  • Loading branch information
servo-wpt-sync committed Sep 7, 2018
1 parent 1343c7d commit 560e025
Show file tree
Hide file tree
Showing 68 changed files with 2,084 additions and 260 deletions.
370 changes: 325 additions & 45 deletions tests/wpt/metadata/MANIFEST.json

Large diffs are not rendered by default.

Expand Up @@ -71,9 +71,3 @@
[bottom intermediate]
expected: FAIL

[line-height end]
expected: FAIL

[border-left-width end]
expected: FAIL

@@ -1,4 +1,5 @@
[fetch-in-iframe.html]
expected: CRASH
[Untitled]
expected: FAIL

Expand Down
@@ -0,0 +1,4 @@
[traverse_the_history_4.html]
[Multiple history traversals, last would be aborted]
expected: FAIL

@@ -0,0 +1,2 @@
[legend-auto-margins.html]
expected: FAIL
@@ -0,0 +1,2 @@
[details-display-property-is-ignored.html]
expected: FAIL

This file was deleted.

@@ -0,0 +1,14 @@
[abort-refresh-immediate.window.html]
expected: TIMEOUT
[document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (XMLHttpRequest)]
expected: TIMEOUT

[document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (fetch())]
expected: TIMEOUT

[document.open() aborts documents that are queued for navigation through <meta> refresh with timeout 0 (fetch())]
expected: TIMEOUT

[document.open() aborts documents that are queued for navigation through Refresh header with timeout 0 (XMLHttpRequest)]
expected: TIMEOUT

@@ -0,0 +1,11 @@
[abort-refresh-multisecond-header.window.html]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (fetch())]
expected: TIMEOUT

[document.open() does NOT abort documents that are queued for navigation through Refresh header with 4-sec timeout (image loading)]
expected: TIMEOUT

[document.open() does NOT abort documents that are queued for navigation through Refresh header with 1-sec timeout (XMLHttpRequest)]
expected: TIMEOUT

@@ -0,0 +1,11 @@
[abort-refresh-multisecond-meta.window.html]
expected: TIMEOUT
[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 4-sec timeout (image loading)]
expected: TIMEOUT

[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (XMLHttpRequest)]
expected: TIMEOUT

[document.open() does NOT abort documents that are queued for navigation through <meta> refresh with 1-sec timeout (fetch())]
expected: TIMEOUT

@@ -0,0 +1,17 @@
[abort-while-navigating.window.html]
expected: TIMEOUT
[document.open() aborts documents that are navigating through iframe loading (XMLHttpRequest)]
expected: FAIL

[document.open() aborts documents that are navigating through Location (fetch())]
expected: TIMEOUT

[document.open() aborts documents that are queued for navigation through .click() (fetch())]
expected: TIMEOUT

[document.open() aborts documents that are queued for navigation through .click() (XMLHttpRequest)]
expected: TIMEOUT

[document.open() aborts documents that are navigating through Location (XMLHttpRequest)]
expected: TIMEOUT

@@ -0,0 +1,14 @@
[abort.sub.window.html]
expected: TIMEOUT
[document.open() does not abort documents that are not navigating (image loading)]
expected: TIMEOUT

[document.open() does not abort documents that are not navigating (XMLHttpRequest)]
expected: TIMEOUT

[document.open() does not abort documents that are not navigating (establish a WebSocket connection)]
expected: TIMEOUT

[document.open() does not abort documents that are not navigating (fetch())]
expected: TIMEOUT

20 changes: 7 additions & 13 deletions tests/wpt/metadata/url/urlencoded-parser.any.js.ini
Expand Up @@ -2,21 +2,15 @@
[request.formData() with input: a&b&c]
expected: FAIL

[response.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL

[response.formData() with input: a&b&c]
expected: FAIL

[request.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL

[response.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL

[request.formData() with input: a=b&c=d&]
expected: FAIL

[request.formData() with input: a=b&c=d]
expected: FAIL


[urlencoded-parser.any.worker.html]
[response.formData() with input: a&b&c]
Expand All @@ -28,15 +22,15 @@
[request.formData() with input: &&&a=b&&&&c=d&]
expected: FAIL

[response.formData() with input: a=b&c=d]
expected: FAIL

[response.formData() with input: a=b&c=d&]
expected: FAIL

[request.formData() with input: a=b&c=d]
expected: FAIL

[response.formData() with input: &&&a=b&&&&c=d&]
[request.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL

[response.formData() with input: _charset_=windows-1252&test=%C2x]
expected: FAIL

@@ -0,0 +1,19 @@
[detune-limiting.html]
[X Osc(freq: 1, detune: 18514.189453125) output does not equal [0,5.565462970480439e-7,0.0000011130925940960879,0.0000016696390048309695,0.0000022261851881921757,0.0000027827315989270573,0.000003339278009661939,0.000003895824193023145,0.000004452370376384351,0.0000050089170144929085,0.000005565463197854115,0.000006122009381215321,0.000006678556019323878,0.000007235102202685084,0.00000779164838604629,0.000008348194569407497...\] with an element-wise tolerance of {"absoluteThreshold":0,"relativeThreshold":0}.\n\tIndex\tActual\t\t\tExpected\t\tAbsError\t\tRelError\t\tTest threshold\n\t[1\]\t1.4247585204429924e-4\t5.5654629704804393e-7\t1.4191930574725120e-4\t2.5500000000000000e+2\t0.0000000000000000e+0\n\t[2\]\t2.8495170408859849e-4\t1.1130925940960879e-6\t2.8383861149450240e-4\t2.5500000000000000e+2\t0.0000000000000000e+0\n\t[3\]\t4.2742758523672819e-4\t1.6696390048309695e-6\t4.2575794623189722e-4\t2.5500000000000000e+2\t0.0000000000000000e+0\n\t[4\]\t5.6990334996953607e-4\t2.2261851881921757e-6\t5.6767716478134389e-4\t2.5499997385318113e+2\t0.0000000000000000e+0\n\t[5\]\t7.1237923111766577e-4\t2.7827315989270573e-6\t7.0959649951873871e-4\t2.5499997908254574e+2\t0.0000000000000000e+0\n\t...and 5505 more errors.\n\tMax AbsError of 7.0378831448033452e-1 at index of 5510.\n\t[5510\]\t7.0685487985610962e-1\t3.0665653757750988e-3\t7.0378831448033452e-1\t2.2950376993102469e+2\t0.0000000000000000e+0\n\tMax RelError of 2.5500000000000000e+2 at index of 1.\n]
expected: FAIL

[# AUDIT TASK RUNNER FINISHED: 2 out of 2 tasks were failed.]
expected: FAIL

[X osc[5:\]: Expected 0 for all values but found 5506 unexpected values: \n\tIndex\tActual\n\t[0\]\t0.0007123792311176658\n\t[1\]\t0.0008548550540581346\n\t[2\]\t0.0009973308769986033\n\t[3\]\t0.0011398065835237503\n\t...and 5502 more errors.]
expected: FAIL

[< [detune automation\] 1 out of 3 assertions were failed.]
expected: FAIL

[< [detune limits\] 2 out of 4 assertions were failed.]
expected: FAIL

[X Osc(freq: 44100.00390625) output: Expected 0 for all values but found 5510 unexpected values: \n\tIndex\tActual\n\t[1\]\t5.565462970480439e-7\n\t[2\]\t0.0000011130925940960879\n\t[3\]\t0.0000016696390048309695\n\t[4\]\t0.0000022261851881921757\n\t...and 5506 more errors.]
expected: FAIL

135 changes: 70 additions & 65 deletions tests/wpt/web-platform-tests/.taskcluster.yml
Expand Up @@ -4,71 +4,76 @@ policy:
tasks:
$if: tasks_for == "github-push"
then:
$if: event.ref == "refs/heads/master"
then:
$flattenDeep:
$map: [{name: firefox, channel: nightly}, {name: chrome, channel: dev}]
each(browser):
$map:
- [testharness, 1, 15]
- [testharness, 2, 15]
- [testharness, 3, 15]
- [testharness, 4, 15]
- [testharness, 5, 15]
- [testharness, 6, 15]
- [testharness, 7, 15]
- [testharness, 8, 15]
- [testharness, 9, 15]
- [testharness, 10, 15]
- [testharness, 11, 15]
- [testharness, 12, 15]
- [testharness, 13, 15]
- [testharness, 14, 15]
- [testharness, 15, 15]
- [reftest, 1, 10]
- [reftest, 2, 10]
- [reftest, 3, 10]
- [reftest, 4, 10]
- [reftest, 5, 10]
- [reftest, 6, 10]
- [reftest, 7, 10]
- [reftest, 8, 10]
- [reftest, 9, 10]
- [reftest, 10, 10]
- [wdspec, 1, 1]
each(chunk):
taskId: {$eval: 'as_slugid(browser.name + browser.channel + chunk[0] + str(chunk[1]))'}
taskGroupId: {$eval: 'as_slugid("task group")'}
created: {$fromNow: ''}
deadline: {$fromNow: '24 hours'}
provisionerId: aws-provisioner-v1
# Contributors interested in configurating TaskCluster to run
# against their fork of WPT should change the `workerType` to
# "github-worker".
workerType: wpt-docker-worker
metadata:
name: wpt-${browser.name}-${browser.channel}-${chunk[0]}-${chunk[1]}
description: >-
A subset of WPT's "${chunk[0]}" tests (chunk number ${chunk[1]}
of ${chunk[2]}), run in the ${browser.channel} release of
${browser.name}.
owner: ${event.pusher.email}
source: ${event.repository.url}
payload:
image: gsnedders/web-platform-tests:0.13
maxRunTime: 7200
artifacts:
public/results:
path: /home/test/artifacts
type: directory
command:
- /bin/bash
- --login
- -c
- "~/start.sh ${event.repository.url} ${event.ref[len('refs/heads/'):]} ${event.after} ${browser.name}-${browser.channel} &&
cd ~/web-platform-tests &&
./tools/ci/ci_taskcluster.sh ${browser.name} ${chunk[0]} ${chunk[1]} ${chunk[2]}"
else: []
$flattenDeep:
$map:
$flatten:
$match: {
event.ref == "refs/heads/master": [{name: firefox, channel: nightly}, {name: chrome, channel: dev}],
event.ref == "refs/heads/epochs/daily": [{name: firefox, channel: beta}, {name: chrome, channel: beta}],
event.ref == "refs/heads/epochs/weekly": [{name: firefox, channel: stable}, {name: chrome, channel: stable}]
}
each(browser):
$map:
- [testharness, 1, 15]
- [testharness, 2, 15]
- [testharness, 3, 15]
- [testharness, 4, 15]
- [testharness, 5, 15]
- [testharness, 6, 15]
- [testharness, 7, 15]
- [testharness, 8, 15]
- [testharness, 9, 15]
- [testharness, 10, 15]
- [testharness, 11, 15]
- [testharness, 12, 15]
- [testharness, 13, 15]
- [testharness, 14, 15]
- [testharness, 15, 15]
- [reftest, 1, 10]
- [reftest, 2, 10]
- [reftest, 3, 10]
- [reftest, 4, 10]
- [reftest, 5, 10]
- [reftest, 6, 10]
- [reftest, 7, 10]
- [reftest, 8, 10]
- [reftest, 9, 10]
- [reftest, 10, 10]
- [wdspec, 1, 1]
each(chunk):
taskId: {$eval: 'as_slugid(browser.name + browser.channel + chunk[0] + str(chunk[1]))'}
taskGroupId: {$eval: 'as_slugid("task group")'}
created: {$fromNow: ''}
deadline: {$fromNow: '24 hours'}
provisionerId: aws-provisioner-v1
workerType:
$if: event.repository.full_name == 'web-platform-tests/wpt'
then:
wpt-docker-worker
else:
github-worker
metadata:
name: wpt-${browser.name}-${browser.channel}-${chunk[0]}-${chunk[1]}
description: >-
A subset of WPT's "${chunk[0]}" tests (chunk number ${chunk[1]}
of ${chunk[2]}), run in the ${browser.channel} release of
${browser.name}.
owner: ${event.pusher.email}
source: ${event.repository.url}
payload:
image: harjgam/web-platform-tests:0.14
maxRunTime: 7200
artifacts:
public/results:
path: /home/test/artifacts
type: directory
command:
- /bin/bash
- --login
- -c
- "~/start.sh ${event.repository.url} ${event.ref[len('refs/heads/'):]} ${event.after} ${browser.name} ${browser.channel} &&
cd ~/web-platform-tests &&
./tools/ci/ci_taskcluster.sh ${browser.name} ${browser.channel} ${chunk[0]} ${chunk[1]} ${chunk[2]}"
# > NOTE: A well-designed template should produce `tasks: []` for any
# > unrecognized `task_for` values; this allows later expansion of this
# > service to handle more events.
Expand Down
File renamed without changes.
Expand Up @@ -8,6 +8,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Path=/;" + extraParams,
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Non-secure origin: Does not set 'Path=/;" + extraParams + "'"
Expand All @@ -17,6 +18,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/;" + extraParams,
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Non-secure origin: Does not set 'Secure; Path=/;" + extraParams + "'"
Expand All @@ -26,6 +28,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/; Domain=" + document.location.hostname + "; " + extraParams,
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Secure origin: Does not set 'Secure; Path=/; Domain=" + document.location.hostname + "; " + extraParams + "'"
Expand All @@ -35,6 +38,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/cookies/resources/list.py",
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Non-secure origin: Does not set 'Secure; Path=/cookies/resources/list.py'"
Expand Down
Expand Up @@ -8,6 +8,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Path=/;" + extraParams,
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Secure origin: Does not set 'Path=/;" + extraParams + "'"
Expand All @@ -17,6 +18,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/;" + extraParams,
origin: self.origin,
shouldExistInDOM: true,
shouldExistViaHTTP: true,
title: "__Host: Secure origin: Does set 'Secure; Path=/;" + extraParams + "'"
Expand All @@ -26,6 +28,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/; Domain=" + document.location.hostname + "; " + extraParams,
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Secure origin: Does not set 'Secure; Path=/; Domain=" + document.location.hostname + "; " + extraParams + "'"
Expand All @@ -35,6 +38,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Host-",
params: "Secure; Path=/cookies/resources/list.py",
origin: self.origin,
shouldExistInDOM: false,
shouldExistViaHTTP: false,
title: "__Host: Secure origin: Does not set 'Secure; Path=/cookies/resources/list.py'"
Expand Down
Expand Up @@ -8,6 +8,7 @@
set_prefixed_cookie_via_http_test({
prefix: "__Secure-",
params: "Path=/;" + extraParams,
origin: self.origin,
shouldExistViaHTTP: false,
title: "__Secure: Non-secure origin: Should not set 'Path=/;" + extraParams + "'"
});
Expand All @@ -16,8 +17,9 @@
set_prefixed_cookie_via_http_test({
prefix: "__Secure-",
params: "Secure; Path=/;" + extraParams,
shouldExistViaHTTP: true,
title: "__Secure: Non-secure origin: Should set 'Secure; Path=/;" + extraParams + "'"
origin: self.origin,
shouldExistViaHTTP: false,
title: "__Secure: Non-secure origin: Should not set 'Secure; Path=/;" + extraParams + "'"
});
});
</script>

0 comments on commit 560e025

Please sign in to comment.