summaryrefslogtreecommitdiff
path: root/tools/wpt
AgeCommit message (Collapse)Author
2023-06-25chore: disable /websocket/stream/tentative/close.any.worker.html?wss (#19606)Bartek Iwańczuk
This test is very flaky.
2023-06-12feat: Adaptations to support OpenBSD port (#19153)VlkrS
2023-06-08chore: update wpt (#19422)Leo Kettmeir
2023-06-05fix(ext/crypto): fix JWK import of Ed25519 (#19279)Levente Kurusa
Fixes: #18049 --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-06-01chore(core): Update certs for WPT (#19351)Matt Mastracci
2023-05-18fix(ext/webidl): change createPromiseConverter (#16367)Marcos Casagrande
2023-05-14refactor(core): bake single-thread assumptions into spawn/spawn_blocking ↵Matt Mastracci
(#19056) Partially supersedes #19016. This migrates `spawn` and `spawn_blocking` to `deno_core`, and removes the requirement for `spawn` tasks to be `Send` given our single-threaded executor. While we don't need to technically do anything w/`spawn_blocking`, this allows us to have a single `JoinHandle` type that works for both cases, and allows us to more easily experiment with alternative `spawn_blocking` implementations that do not require tokio (ie: rayon). Async ops (+~35%): Before: ``` time 1310 ms rate 763358 time 1267 ms rate 789265 time 1259 ms rate 794281 time 1266 ms rate 789889 ``` After: ``` time 956 ms rate 1046025 time 954 ms rate 1048218 time 924 ms rate 1082251 time 920 ms rate 1086956 ``` HTTP serve (+~4.4%): Before: ``` Running 10s test @ http://localhost:4500 2 threads and 10 connections Thread Stats Avg Stdev Max +/- Stdev Latency 68.78us 19.77us 1.43ms 86.84% Req/Sec 68.78k 5.00k 73.84k 91.58% 1381833 requests in 10.10s, 167.36MB read Requests/sec: 136823.29 Transfer/sec: 16.57MB ``` After: ``` Running 10s test @ http://localhost:4500 2 threads and 10 connections Thread Stats Avg Stdev Max +/- Stdev Latency 63.12us 17.43us 1.11ms 85.13% Req/Sec 71.82k 3.71k 77.02k 79.21% 1443195 requests in 10.10s, 174.79MB read Requests/sec: 142921.99 Transfer/sec: 17.31MB ``` Suggested-By: alice@ryhl.io Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2023-04-27chore: upgrade rusty_v8 to 0.71.0 (#18868)Bartek Iwańczuk
2023-04-04feat(ext/url): `URL.canParse` (#18286)Kenta Moriuchi
2023-03-25chore: update wpt again (#18384)Kenta Moriuchi
This reverts commit 4c2269d64a7dda1397d49bd235e5546470a683ea. > This update introduced more flakiness to the tests on CI, we are going > to investigate and reland this update after Deno 1.32.0 is released.
2023-03-22Revert "chore: update wpt (#18335)" (#18355)Bartek Iwańczuk
This reverts commit 29fb7709ed41b644825f7f9e362314bb37b588e7. This update introduced more flakiness to the tests on CI, we are going to investigate and reland this update after Deno 1.32.0 is released.
2023-03-22chore: update wpt (#18335)Kenta Moriuchi
2023-03-15test: ignore global-immutable-prototype.any.worker.html (#18208)Bartek Iwańczuk
This test is very flaky on CI, ignoring it for now. https://github.com/denoland/deno/issues/17405
2023-03-15fix(wpt): set META_TITLE on global for the testharness (#18193)Filip Skokan
Fixes hopefully the last mismatch of reported test titles. - [redirect-schemes.any.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.html?run_id=5139017526411264&run_id=5093839906275328) - [redirect-schemes.any.worker.html](https://wpt.fyi/results/fetch/api/redirect/redirect-schemes.any.worker.html?run_id=5139017526411264&run_id=5093839906275328) - https://github.com/web-platform-tests/wpt/blob/ebf6814ebdf36a551563a34a4396f4f2b3b1f617/resources/testharness.js#L4754-L4756
2023-03-14feat(ext/url): URLSearchParams.size (#17884)Lino Le Van
2023-03-05fix(ext/crypto): correctly limit ECDSA and hash algorithms (#18030)Filip Skokan
Closes #18029
2023-03-03wpt: unlock nightly with --no-ignore (#17998)Filip Skokan
When I was testing the code in #17892 I had updated expectations and didn't catch this. This PR fixes the the expectation file format to not be checked when --no-ignore is passed during [nightly](https://github.com/denoland/deno/actions/runs/4319520368/jobs/7538796572#step:9:46) runs.
2023-03-02test(wpt): implement process timeout, fix expectations update, and more... ↵Filip Skokan
(#17892) - relands #17872 - updates the timeouts to be re-configurable just for CI - fixes `./tools/wpt.ts update` - adds option not "ignore" during, applied to wpt epoch runs only
2023-02-23Revert "test(wpt): implement process timeout (#17872)" (#17886)Bartek Iwańczuk
This reverts commit 5fcbdd62285140353edbb28e67f7d72e3317e96e.
2023-02-22test(wpt): implement process timeout (#17872)Filip Skokan
``` response-consume-stream.any.js Blob-stream.any.js ``` These tests just hang whenever they get to use byob mode. This PR adds a timeout to the spawned process so that the WPTs finish running. This first broke the daily run due to https://github.com/web-platform-tests/wpt/commit/7b49c547d4b7bcc17e6308f741b080f4207d1e8a Also fixes "Untitled" test names in https://wpt.fyi/results/dom/events/Event-constructors.any.html?label=experimental&label=master&product=deno&product=chrome&aligned&view=subtest
2023-01-24refactor: remove Deno.core (#16881)Bartek Iwańczuk
This commit removes "Deno.core" namespace. It is strictly private API that has no stability guarantees, we were supposed to remove it long time ago. Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-01-09fix(ext/web/streams): fix ReadableStream asyncIterator (#16276)Marcos Casagrande
2023-01-02chore: update copyright year to 2023 (#17247)David Sherret
Yearly tradition of creating extra noise in git.
2022-12-06fix(ext/fetch): new Request should soft clone (#16869)Luca Casonato
Previously the inner request object of the original and the new request were the same, causing the requests to be entangled and mutable changes to one to be visible to the other. This fixes that.
2022-12-02chore: rewrite tests and utils to use Deno.Command API (#16895)Bartek Iwańczuk
Since "Deno.spawn()", "Deno.spawnSync()" and "Deno.spawnChild" are getting deprecated, this commits rewrites all tests and utilities to use "Deno.Command" API instead.
2022-11-10fix(ext/response): make error, json, redirect enumerable (#16497)Marcos Casagrande
2022-10-26perf(ext/web): optimize transferArrayBuffer (#16294)Divy Srivastava
Avoid copying enqueued data + misc optimizations to skip webidl converter.
2022-10-25fix: upgrade swc_ecma_parser to 0.122.19 - deno_ast 0.20 (#16406)David Sherret
2022-10-24experiment(ext/web): Don't expose event classes during the bootstrap phase ↵Andreu Botella
(#16213)
2022-10-24test(wpt): add mimesniff tests (#16225)Marcos Casagrande
This PR enables 1027/1911 [mimesniff](https://wpt.fyi/results/mimesniff/mime-types?label=master&product=chrome%5Bexperimental%5D&product=firefox%5Bexperimental%5D&product=safari%5Bexperimental%5D&product=deno&aligned&view=subtest) tests.
2022-10-17fix(ext/fetch): set accept-encoding: identity if range header is present ↵Marcos Casagrande
(#16197) https://fetch.spec.whatwg.org/#http-network-or-cache-fetch > If httpRequest’s header list contains `Range`, then append (`Accept-Encoding`, `identity`) > to httpRequest’s header list. > > This avoids a failure when handling content codings with a part of an encoded response. > Additionally, many servers mistakenly ignore `Range` headers if a non-identity encoding is accepted.
2022-10-16fix(ext/cache): illegal constructor (#16205)Marcos Casagrande
2022-10-14fix(ext/web/streams): enqueue to second branch before closing (#16269)Marcos Casagrande
Co-authored-by: Luca Casonato <hello@lcas.dev>
2022-10-14fix(ext/fetch): throw TypeError on non-Uint8Array chunk (#16262)Marcos Casagrande
2022-10-14fix(ext/web/streams): resolve cancelPromise in ReadableStreamTee (#16266)Marcos Casagrande
2022-10-12fix(ext/fetch): throw TypeError on read failure (#16219)Marcos Casagrande
2022-10-08fix(ext/fetch): reject immediately on aborted signal (#16190)Marcos Casagrande
Enabled the following test: https://github.com/web-platform-tests/wpt/blob/edc428e8e229429acd723efc7a6d41010c94fc41/fetch/api/abort/general.any.js#L185-L201
2022-10-08test(ext/fetch): enable fetch/content-type/multipart.window WPT (#16209)Marcos Casagrande
This PR enables the following test: https://github.com/web-platform-tests/wpt/blob/master/fetch/content-type/multipart.window.js
2022-10-07fix(ext/fetch): support empty formdata (#16165)Marcos Casagrande
This PR adds support for empty `FormData` parsing in `Response`/`Request` ```js new Response(new FormData()).formData() ``` ref: https://github.com/web-platform-tests/wpt/issues/28607
2022-10-04perf(ext/fetch): consume body using ops (#16038)Marcos Casagrande
This commit adds a fast path to `Request` and `Response` that make consuming request bodies much faster when using `Body#text`, `Body#arrayBuffer`, and `Body#blob`, if the body is a FastStream. Because the response bodies for `fetch` are FastStream, this speeds up consuming `fetch` response bodies significantly.
2022-10-04fix(ext/crypto): ecdh spki key import/export roundtrip (#16152)Filip Skokan
2022-10-03fix(ext/crypto): curve25519 import export (#16140)Filip Skokan
2022-09-28chore(wpt): ignore some flaky tests (#16073)Bartek Iwańczuk
2022-09-28feat: implement Web Cache API (#15829)Satya Rohith
2022-09-27chore(wpt): add ability to ignore a test file (#16056)Bartek Iwańczuk
2022-09-27feat(ext/crypto): add x25519 and Ed25519 CFRG curves (#14119)Divy Srivastava
2022-09-22chore: update wpt (#15979)Divy Srivastava
2022-09-17perf(web): optimize encodeInto() (#15922)Divy Srivastava
2022-09-07chore: bump url crate to 2.3.0 (#15800)Divy Srivastava
2022-08-21feat: `queueMicrotask()` error handling (#15522)Nayeem Rahman
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158).