Skip to content

Commit

Permalink
Update WPT
Browse files Browse the repository at this point in the history
This requires upgrading to python3 which we get by just running ubuntu20
explicitly in CI.
  • Loading branch information
Sebmaster authored and domenic committed Mar 1, 2021
1 parent 4282ddb commit b4921f9
Show file tree
Hide file tree
Showing 6 changed files with 97,966 additions and 53,247 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/jsdom-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
lint:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -32,7 +32,7 @@ jobs:
build-with-canvas:
env:
TEST_SUITE: 'node-canvas'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -52,7 +52,7 @@ jobs:
build-with-browser:
env:
TEST_SUITE: 'browser'
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand All @@ -68,7 +68,7 @@ jobs:
- name: Run tests
run: yarn test-browser
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion test/web-platform-tests/tests
Submodule tests updated 12214 files
26 changes: 12 additions & 14 deletions test/web-platform-tests/to-run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ DIR: FileAPI

FileReader/workers.html: [fail, Needs Worker implementation]
blob/Blob-array-buffer.any.html: [fail, Depends on TextEncoder]
blob/Blob-constructor.html: [fail, "- Blob is not a function
blob/Blob-constructor-endings.html: [fail, "- Blob is not a function
- a date is not instanceof Date
- a regexp is not instanceof Regexp
- strange v8 behaviour when error triggered in overridden array length
Expand Down Expand Up @@ -133,7 +133,7 @@ reactions/HTMLAreaElement.html: [fail, HTMLAreaElement doesn't implement downloa
reactions/HTMLButtonElement.html: [fail, HTMLButtonElement doesn't implement formAction formEnctype and formMethod]
reactions/HTMLElement.html: [fail, translate and spellcheck attributes are not implemented on HTMLElement]
reactions/HTMLImageElement.html: [fail, HTMLImageElement doesn't implement referrerPolicy and decoder]
state.tentative/**: [fail, Not implemented]
state/tentative/**: [fail, Not implemented]
throw-on-dynamic-markup-insertion-counter-construct.html: [timeout, document.open() and document.close() implementation is not spec compliant]
throw-on-dynamic-markup-insertion-counter-reactions.html: [timeout, document.open() and document.close() implementation is not spec compliant]

Expand Down Expand Up @@ -236,11 +236,11 @@ innerhtml-05.xhtml: [fail, Unknown]

DIR: fetch/api/headers

header-values-normalize.html: [fail, fetch is not defined]
header-values.html: [fail, fetch is not defined]
headers-basic.html: [fail, iterator prototype is wrong]
headers-no-cors.window.html: [fail, Request is not defined]
headers-record.html: [needs-node12, V8 bug fixed in Node 12 onward]
header-values-normalize.any.html: [fail, fetch is not defined]
header-values.any.html: [fail, fetch is not defined]
headers-basic.any.html: [fail, iterator prototype is wrong]
headers-no-cors.any.html: [fail, Request is not defined]
headers-record.any.html: [needs-node12, V8 bug fixed in Node 12 onward]

---

Expand Down Expand Up @@ -528,7 +528,7 @@ other-elements-attributes-and-apis/document-color-01.html: [fail, Legacy color a
other-elements-attributes-and-apis/document-color-02.html: [fail, Legacy color attributes not implemented]
other-elements-attributes-and-apis/document-color-03.html: [fail, Legacy color attributes not implemented]
other-elements-attributes-and-apis/document-color-04.html: [fail, Legacy color attributes not implemented]
the-marquee-element-0/marquee-events.html: [timeout, <marquee> is not implemented]
the-marquee-element-0/marquee-events-historical.html: [timeout, <marquee> is not implemented]
the-marquee-element-0/marquee-loop.html: [fail, <marquee> is not implemented]
the-marquee-element-0/marquee-scrollamount.html: [fail, <marquee> is not implemented]
the-marquee-element-0/marquee-scrolldelay.html: [fail, <marquee> is not implemented]
Expand Down Expand Up @@ -609,7 +609,6 @@ image-loading-lazy-in-cross-origin-iframe-001.sub.html: [fail, loading attr not
image-loading-lazy-in-cross-origin-iframe-002.sub.html: [fail, loading attr not implemented]
image-loading-lazy-in-script-disabled-iframe.html: [fail, loading attr not implemented]
image-loading-lazy-in-viewport-dynamic.html: [fail, loading attr not implemented]
image-loading-lazy-load-event.html: [fail, loading attr not implemented]
image-loading-lazy-move-document.html: [fail, loading attr not implemented]
image-loading-lazy-move-into-script-disabled-iframe.html: [fail, loading attr not implemented]
image-loading-lazy-multicol.html: [fail, loading attr not implemented]
Expand Down Expand Up @@ -987,7 +986,7 @@ DIR: html/webappapis/animation-frames

DIR: html/webappapis/atob

base64.html: [fail, Depends on fetch]
base64.any.html: [fail, Depends on fetch]

---

Expand Down Expand Up @@ -1097,8 +1096,8 @@ a-element.html: [fail, Depends on fetch]
failure.html: [fail, Depends on fetch]
idlharness.any.html: [fail, Depends on fetch]
toascii.window.html: [fail, Depends on fetch]
url-constructor.html: [fail, Depends on fetch]
url-origin.html: [fail, Depends on fetch]
url-constructor.any.html: [fail, Depends on fetch]
url-origin.any.html: [fail, Depends on fetch]
url-setters-stripping.any.html: [fail, Unknown]
url-setters.html: [fail, Depends on fetch]
urlencoded-parser.any.html: [fail, Depends on fetch]
Expand All @@ -1113,15 +1112,14 @@ cookies/006.html?wss: [fail, Unknown]
cookies/third-party-cookie-accepted.https.html: [fail, 'https://github.com/salesforce/tough-cookie/issues/80']
interfaces/WebSocket/close/close-connecting.html*: [fail, Potentially buggy test as Chrome fails it too]
remove-own-iframe-during-onerror.window.html: [timeout, iframe.srcdoc not implemented]
stream.tentative/*: [fail, This is not yet standardised and browsers should not be expected to pass these tests.]
stream/tentative/*: [fail, This is not yet standardised and browsers should not be expected to pass these tests.]
unload-a-document/*: [timeout, Requires window.open]

---

DIR: webstorage

event_no_duplicates.html: [needs-node11, Earlier Node.js timers did not match browser behaviour, https://github.com/nodejs/node/pull/22842]
idlharness.window.html: [fail, Depends on fetch]
set.window.html: [fail, Unknown]
storage_local_window_open.html: [timeout, Depends on window.open()]
storage_session_window_noopener.html: [fail, Depends on BroadcastChannel]
Expand Down
2 changes: 1 addition & 1 deletion test/web-platform-tests/tuwpt-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ports": {
"h2": [10002],
"http": [10000, "auto"],
"https": [10443],
"https": [10443, "auto"],
"ws": [10001],
"wss": [10444]
},
Expand Down
2 changes: 1 addition & 1 deletion test/web-platform-tests/wpt-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"ports": {
"h2": [9002],
"http": [9000, "auto"],
"https": [9443],
"https": [9443, "auto"],
"ws": [9001],
"wss": [9444]
},
Expand Down

0 comments on commit b4921f9

Please sign in to comment.