mirror of
https://github.com/servo/servo.git
synced 2025-07-16 20:03:39 +01:00
Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64
This commit is contained in:
parent
11a89bcc47
commit
8f98acd0e7
297 changed files with 3396 additions and 1555 deletions
|
@ -9,3 +9,9 @@
|
|||
[Fetching a blob URL immediately before revoking it works in <script> tags.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Opening a blob URL in a new window immediately before revoking it works.]
|
||||
expected: FAIL
|
||||
|
||||
[Opening a blob URL in a noopener about:blank window immediately before revoking it works.]
|
||||
expected: FAIL
|
||||
|
||||
|
|
4
tests/wpt/metadata/FileAPI/url/url-reload.window.js.ini
Normal file
4
tests/wpt/metadata/FileAPI/url/url-reload.window.js.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[url-reload.window.html]
|
||||
[Reloading a blob URL succeeds even if the URL was revoked.]
|
||||
expected: FAIL
|
||||
|
File diff suppressed because it is too large
Load diff
|
@ -11,6 +11,3 @@
|
|||
[FE19 PRESENTATION FORM FOR VERTICAL HORIZONTAL ELLIPSIS may NOT appear at line start if zh and strict]
|
||||
expected: FAIL
|
||||
|
||||
[22EF MIDLINE HORIZONTAL ELLIPSIS may NOT appear at line start if zh and strict]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[view-box-mutation.html]
|
||||
expected: FAIL
|
4
tests/wpt/metadata/css/cssom/at-namespace.html.ini
Normal file
4
tests/wpt/metadata/css/cssom/at-namespace.html.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[at-namespace.html]
|
||||
[CSS Test: @namespace in CSSOM is not severely broken]
|
||||
expected: FAIL
|
||||
|
|
@ -5,3 +5,6 @@
|
|||
[insertRule with charset and undefined index argument]
|
||||
expected: FAIL
|
||||
|
||||
[insertRule with charset and omitted index argument]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
[inserRule with import and omitted index argument]
|
||||
expected: FAIL
|
||||
|
||||
[insertRule with import and omitted index argument]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,3 +5,9 @@
|
|||
[inserRule with namespace and omitted index argument should insert import]
|
||||
expected: FAIL
|
||||
|
||||
[insertRule with namespace and omitted index argument]
|
||||
expected: FAIL
|
||||
|
||||
[insertRule with namespace and omitted index argument should insert import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,3 +5,6 @@
|
|||
[insertRule with undefined index argument]
|
||||
expected: FAIL
|
||||
|
||||
[insertRule with omitted index argument]
|
||||
expected: FAIL
|
||||
|
||||
|
|
7
tests/wpt/metadata/domparsing/interfaces.any.js.ini
Normal file
7
tests/wpt/metadata/domparsing/interfaces.any.js.ini
Normal file
|
@ -0,0 +1,7 @@
|
|||
[interfaces.any.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[interfaces.any.worker.html]
|
||||
expected: ERROR
|
|
@ -2,3 +2,9 @@
|
|||
[Check credentials attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Check isReloadNavigation attribute]
|
||||
expected: FAIL
|
||||
|
||||
[Check isHistoryNavigation attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
9
tests/wpt/metadata/fetch/origin/no-cors.any.js.ini
Normal file
9
tests/wpt/metadata/fetch/origin/no-cors.any.js.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
[no-cors.any.worker.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[no-cors.any.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
9
tests/wpt/metadata/fetch/range/general.any.js.ini
Normal file
9
tests/wpt/metadata/fetch/range/general.any.js.ini
Normal file
|
@ -0,0 +1,9 @@
|
|||
[general.any.worker.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[general.any.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
[partial-script.window.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
4
tests/wpt/metadata/fetch/range/sw.https.window.js.ini
Normal file
4
tests/wpt/metadata/fetch/range/sw.https.window.js.ini
Normal file
|
@ -0,0 +1,4 @@
|
|||
[sw.https.window.html]
|
||||
[Untitled]
|
||||
expected: FAIL
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
[javascript-url-abort-return-value-undefined.tentative.html]
|
||||
expected: TIMEOUT
|
||||
[Not aborting fetch for javascript:undefined navigation]
|
||||
expected: FAIL
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
[navigation-unload-same-origin-fragment.html]
|
||||
[Tests that a fragment navigation in the unload handler will not block the initial navigation]
|
||||
expected: FAIL
|
||||
|
|
@ -18,9 +18,6 @@
|
|||
[Set data URL frame location.protocol to http+x]
|
||||
expected: FAIL
|
||||
|
||||
[Set HTTP URL frame location.protocol to x]
|
||||
expected: FAIL
|
||||
|
||||
[Set HTTP URL frame location.protocol to ftp]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[010.html]
|
||||
[Salvagability of document.opened document]
|
||||
expected: FAIL
|
||||
|
|
@ -172,33 +172,3 @@
|
|||
[XHTML img usemap="http://example.org/#garbage-before-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="no-hash-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="no-hash-id"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="hash-last#"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap=""]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#percent-escape-name-%41"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#percent-escape-id-%41"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#no-such-map"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#different-CASE-name"]
|
||||
expected: FAIL
|
||||
|
||||
[HTML (quirks) IMG usemap="#different-CASE-id"]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -4,3 +4,5 @@
|
|||
[WebSockets: Send/Receive blob, blob size less than network array buffer]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[001.html]
|
||||
|
|
|
@ -3,3 +3,5 @@
|
|||
[WebSockets: Send/Receive blob, blob size greater than network array buffer]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[002.html]
|
||||
|
|
|
@ -3,3 +3,5 @@
|
|||
[WebSockets: Send/Receive ArrayBuffer, size greater than network array buffer]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[004.html]
|
||||
|
|
|
@ -4,3 +4,5 @@
|
|||
[WebSockets: Send/Receive ArrayBuffer, size less than network array buffer]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[005.html]
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
[dedicated-worker-import-failure.html]
|
||||
[DedicatedWorker: import failure]
|
||||
expected: FAIL
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
[dedicated-worker-import.html]
|
||||
expected: ERROR
|
||||
[Test static import on DedicatedWorkerGlobalScope.]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
@ -30,3 +29,6 @@
|
|||
[Dynamic import for non-existent script should throw an exception.]
|
||||
expected: NOTRUN
|
||||
|
||||
[DedicatedWorker: import]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -2,3 +2,7 @@
|
|||
[Untitled]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[sync-no-timeout.any.worker.html]
|
||||
|
||||
[sync-no-timeout.any.html]
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
[hide_after_load.html]
|
||||
expected: TIMEOUT
|
|
@ -0,0 +1,5 @@
|
|||
[rapid-resizing.html]
|
||||
expected: TIMEOUT
|
||||
[Overall test]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[shader-uniform-packing-restrictions.html]
|
||||
expected: TIMEOUT
|
||||
[Overall test]
|
||||
expected: NOTRUN
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
[atan_001_to_008.html]
|
||||
expected: TIMEOUT
|
||||
[Overall test]
|
||||
expected: NOTRUN
|
||||
|
|
@ -15,7 +15,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 1 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -32,7 +32,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 2 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -49,7 +49,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 3 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -66,7 +66,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 4 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -83,7 +83,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 5 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -100,7 +100,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 6 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -117,7 +117,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 7 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -134,7 +134,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 8 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -151,7 +151,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 9 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -168,7 +168,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome reftest 10 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -185,7 +185,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome wdspec 1 1"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -202,7 +202,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 1 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -219,7 +219,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 2 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -236,7 +236,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 3 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -253,7 +253,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 4 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -270,7 +270,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 5 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -287,7 +287,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 6 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -304,7 +304,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 7 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -321,7 +321,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 8 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -338,7 +338,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 9 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -355,7 +355,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 10 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -372,7 +372,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 11 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -389,7 +389,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 12 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -406,7 +406,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 13 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -423,7 +423,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 14 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -440,7 +440,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} chrome-dev &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ chrome testharness 15 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -457,7 +457,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 1 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -474,7 +474,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 2 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -491,7 +491,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 3 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -508,7 +508,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 4 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -525,7 +525,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 5 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -542,7 +542,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 6 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -559,7 +559,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 7 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -576,7 +576,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 8 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -593,7 +593,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 9 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -610,7 +610,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox reftest 10 10"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -627,7 +627,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox wdspec 1 1"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -644,7 +644,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 1 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -661,7 +661,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 2 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -678,7 +678,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 3 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -695,7 +695,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 4 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -712,7 +712,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 5 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -729,7 +729,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 6 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -746,7 +746,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 7 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -763,7 +763,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 8 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -780,7 +780,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 9 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -797,7 +797,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 10 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -814,7 +814,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 11 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -831,7 +831,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 12 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -848,7 +848,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 13 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -865,7 +865,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 14 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
@ -882,7 +882,7 @@ tasks:
|
|||
\ {{ event.head.repo.branch }} {{event.head.sha}} firefox-nightly &&\n \
|
||||
\ cd ~/web-platform-tests &&\n ./tools/ci/ci_taskcluster.sh\
|
||||
\ firefox testharness 15 15"]
|
||||
image: harjgam/web-platform-tests:0.12
|
||||
image: gsnedders/web-platform-tests:0.13
|
||||
maxRunTime: 7200
|
||||
provisionerId: aws-provisioner-v1
|
||||
workerType: wpt-docker-worker
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# http://philip.html5.org/tests/canvas/suite/tests/
|
||||
#
|
||||
# It has been adapted for use with the Web Platform Test Suite suite at
|
||||
# https://github.com/w3c/web-platform-tests/
|
||||
# https://github.com/web-platform-tests/wpt/
|
||||
#
|
||||
# The original version had a number of now-removed features (multiple versions of
|
||||
# each test case of varying verbosity, Mozilla mochitests, semi-automated test
|
||||
|
|
|
@ -37,6 +37,51 @@ async_test(t => {
|
|||
});
|
||||
}, 'Fetching a blob URL immediately before revoking it works in an iframe navigation.');
|
||||
|
||||
async_test(t => {
|
||||
const run_result = 'test_frame_OK';
|
||||
const blob_contents = '<!doctype html>\n<meta charset="utf-8">\n' +
|
||||
'<script>window.test_result = "' + run_result + '";</script>';
|
||||
const blob = new Blob([blob_contents], {type: 'text/html'});
|
||||
const url = URL.createObjectURL(blob);
|
||||
const win = window.open(url);
|
||||
URL.revokeObjectURL(url);
|
||||
add_completion_callback(() => { win.close(); });
|
||||
|
||||
win.onload = t.step_func_done(() => {
|
||||
assert_equals(win.test_result, run_result);
|
||||
});
|
||||
}, 'Opening a blob URL in a new window immediately before revoking it works.');
|
||||
|
||||
function receive_message_on_channel(t, channel_name) {
|
||||
const channel = new BroadcastChannel(channel_name);
|
||||
return new Promise(resolve => {
|
||||
channel.addEventListener('message', t.step_func(e => {
|
||||
resolve(e.data);
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
function window_contents_for_channel(channel_name) {
|
||||
return '<!doctype html>\n' +
|
||||
'<script>\n' +
|
||||
'new BroadcastChannel("' + channel_name + '").postMessage("foobar");\n' +
|
||||
'self.close();\n' +
|
||||
'</script>';
|
||||
}
|
||||
|
||||
async_test(t => {
|
||||
const channel_name = 'noopener-window-test';
|
||||
const blob = new Blob([window_contents_for_channel(channel_name)], {type: 'text/html'});
|
||||
receive_message_on_channel(t, channel_name).then(t.step_func_done(t => {
|
||||
assert_equals(t, 'foobar');
|
||||
}));
|
||||
const url = URL.createObjectURL(blob);
|
||||
const win = window.open();
|
||||
win.opener = null;
|
||||
win.location = url;
|
||||
URL.revokeObjectURL(url);
|
||||
}, 'Opening a blob URL in a noopener about:blank window immediately before revoking it works.');
|
||||
|
||||
async_test(t => {
|
||||
const run_result = 'test_script_OK';
|
||||
const blob_contents = 'window.script_test_result = "' + run_result + '";';
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
function blob_url_reload_test(t, revoke_before_reload) {
|
||||
const run_result = 'test_frame_OK';
|
||||
const blob_contents = '<!doctype html>\n<meta charset="utf-8">\n' +
|
||||
'<script>window.test_result = "' + run_result + '";</script>';
|
||||
const blob = new Blob([blob_contents], {type: 'text/html'});
|
||||
const url = URL.createObjectURL(blob);
|
||||
|
||||
const frame = document.createElement('iframe');
|
||||
frame.setAttribute('src', url);
|
||||
frame.setAttribute('style', 'display:none;');
|
||||
document.body.appendChild(frame);
|
||||
|
||||
frame.onload = t.step_func(() => {
|
||||
if (revoke_before_reload)
|
||||
URL.revokeObjectURL(url);
|
||||
assert_equals(frame.contentWindow.test_result, run_result);
|
||||
frame.contentWindow.test_result = null;
|
||||
frame.onload = t.step_func_done(() => {
|
||||
assert_equals(frame.contentWindow.test_result, run_result);
|
||||
});
|
||||
// Slight delay before reloading to ensure revoke actually has had a chance
|
||||
// to be processed.
|
||||
t.step_timeout(() => {
|
||||
frame.contentWindow.location.reload();
|
||||
}, 250);
|
||||
});
|
||||
}
|
||||
|
||||
async_test(t => {
|
||||
blob_url_reload_test(t, false);
|
||||
}, 'Reloading a blob URL succeeds.');
|
||||
|
||||
|
||||
async_test(t => {
|
||||
blob_url_reload_test(t, true);
|
||||
}, 'Reloading a blob URL succeeds even if the URL was revoked.');
|
|
@ -15,7 +15,7 @@ editors and implementors.
|
|||
Setting Up the Repo
|
||||
===================
|
||||
|
||||
Clone or otherwise get https://github.com/w3c/web-platform-tests.
|
||||
Clone or otherwise get https://github.com/web-platform-tests/wpt.
|
||||
|
||||
Note: because of the frequent creation and deletion of branches in this
|
||||
repo, it is recommended to "prune" stale branches when fetching updates,
|
||||
|
@ -356,7 +356,7 @@ Issues with web-platform-tests
|
|||
|
||||
If you spot an issue with a test and are not comfortable providing a
|
||||
pull request per above to fix it, please
|
||||
[file a new issue](https://github.com/w3c/web-platform-tests/issues/new).
|
||||
[file a new issue](https://github.com/web-platform-tests/wpt/issues/new).
|
||||
Thank you!
|
||||
|
||||
Lint tool
|
||||
|
@ -432,11 +432,11 @@ upstream review.
|
|||
|
||||
Search filters to find things to review:
|
||||
|
||||
* [Open PRs (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
* [Reviewed but still open PRs (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?q=is%3Apr+is%3Aopen+-label%3Amozilla%3Agecko-sync+-label%3Achromium-export+-label%3Awebkit-export+-label%3Aservo-export+review%3Aapproved) (Merge? Something left to fix? Ping other reviewer?)
|
||||
* [Open PRs without owners](https://github.com/w3c/web-platform-tests/pulls?q=is%3Apr+is%3Aopen+label%3Astatus%3Aneeds-owners)
|
||||
* [Open PRs with label `infra` (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Ainfra+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
* [Open PRs with label `docs` (excluding vendor exports)](https://github.com/w3c/web-platform-tests/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Adocs+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
* [Open PRs (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
* [Reviewed but still open PRs (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?q=is%3Apr+is%3Aopen+-label%3Amozilla%3Agecko-sync+-label%3Achromium-export+-label%3Awebkit-export+-label%3Aservo-export+review%3Aapproved) (Merge? Something left to fix? Ping other reviewer?)
|
||||
* [Open PRs without owners](https://github.com/web-platform-tests/wpt/pulls?q=is%3Apr+is%3Aopen+label%3Astatus%3Aneeds-owners)
|
||||
* [Open PRs with label `infra` (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Ainfra+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
* [Open PRs with label `docs` (excluding vendor exports)](https://github.com/web-platform-tests/wpt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aopen+label%3Adocs+-label%3A%22mozilla%3Agecko-sync%22+-label%3A%22chromium-export%22+-label%3A%22webkit-export%22+-label%3A%22servo-export%22)
|
||||
|
||||
Getting Involved
|
||||
================
|
||||
|
@ -449,7 +449,7 @@ The mailing list is [archived][mailarchive].
|
|||
Join us on irc #testing ([irc.w3.org][ircw3org], port 6665). The channel
|
||||
is [archived][ircarchive].
|
||||
|
||||
[contributing]: https://github.com/w3c/web-platform-tests/blob/master/CONTRIBUTING.md
|
||||
[contributing]: https://github.com/web-platform-tests/wpt/blob/master/CONTRIBUTING.md
|
||||
[ircw3org]: https://www.w3.org/wiki/IRC
|
||||
[ircarchive]: https://w3.logbot.info/testing
|
||||
[mailarchive]: https://lists.w3.org/Archives/Public/public-test-infra/
|
||||
|
|
|
@ -52,7 +52,7 @@ Context](JSONtest-v1.jsonld). That context defines the following terms:
|
|||
|name | string | The name of this test for display purposes
|
||||
|description | string | A long self-describing paragraph that explains the purpose of the test and the expected input
|
||||
|ref | URI | An optional reference to the portion of the specification to which the test relates
|
||||
|testType | `automated`, `manual`, `ref` | The type of test - this informs [WPT](https://github.com/w3c/web-platform-tests) how the test should be controlled and presented
|
||||
|testType | `automated`, `manual`, `ref` | The type of test - this informs [WPT](https://github.com/web-platform-tests/wpt) how the test should be controlled and presented
|
||||
|skipFailures | list of strings | An optional list of assertionType values that, if present, should have their test skipped if the result would be "unexpected". Defaults to the empty list.
|
||||
|assertions | list of URI, List @@@ATRISK@@@, or AssertionObject | The ordered collection of tests the input should be run against. See [JSON Schema Usage](#jsonSchema) for the structure of the objects. URI is relative to the top level folder of the test collection if it has a slash; relative to the current directory if it does not. @@@@ATRISK@@@@ Lists can be nested to define groups of sub-tests. Assertions / groups can be conditionally skipped. See [Assertion Lists](#assertionLists) for more details.
|
||||
|content | URI or object | An object containing content to be checked against the referenced assertions, or a URI from which to retrieve that content
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
import os
|
||||
ccdir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
# based on https://github.com/w3c/web-platform-tests/blob/275544eab54a0d0c7f74ccc2baae9711293d8908/url/urltestdata.txt
|
||||
# based on https://github.com/web-platform-tests/wpt/blob/275544eab54a0d0c7f74ccc2baae9711293d8908/url/urltestdata.txt
|
||||
invalid = {
|
||||
"scheme-trailing-space": "a: foo.com",
|
||||
"scheme-trailing-tab": "a:\tfoo.com",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<body>
|
||||
<h1>Introduction to Writing Content Security Policy Tests</h1>
|
||||
<p>The CSP test suite uses the standard W3C testharness.js framework, but there are a few additional things you'll need to do because of the unique way CSP works, even if you're already an expert at writing W3C tests. These tests require the use of the
|
||||
<a href="https://github.com/w3c/wptserve">wptserve</a> server (included in the <a href="https://github.com/w3c/web-platform-tests">web-platform-tests repository</a>) to operate correctly.</p>
|
||||
<a href="https://github.com/w3c/wptserve">wptserve</a> server (included in the <a href="https://github.com/web-platform-tests/wpt">web-platform-tests repository</a>) to operate correctly.</p>
|
||||
|
||||
<h2>What's different about writing CSP tests?</h2>
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
'use strict';
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -19,7 +19,7 @@ self.addEventListener('install', (event) => {
|
|||
});
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
|
@ -12,7 +12,7 @@ self.addEventListener('install', (event) => {
|
|||
});
|
||||
|
||||
// Workaround because add_cleanup doesn't support async functions yet.
|
||||
// See https://github.com/w3c/web-platform-tests/issues/6075
|
||||
// See https://github.com/web-platform-tests/wpt/issues/6075
|
||||
async function async_cleanup(cleanup_function) {
|
||||
try {
|
||||
await cleanup_function();
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue