summaryrefslogtreecommitdiff
path: root/tools/wpt
AgeCommit message (Collapse)Author
2021-08-16feat(runtime): support classic workers for internal testing (#11338)Andreu Botella
This commit implements classic workers, but only when the `--enable-testing-features-do-not-use` flag is provided. This change is not user facing. Classic workers are used extensively in WPT tests. The classic workers do not support loading from disk, and do not support TypeScript. Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-14chore: roll wpt (#11692)Luca Casonato
This PR rolls WPT to https://github.com/web-platform-tests/wpt/commit/7eb7372a613fb3a4a7d4160d8292ac2b95b29864
2021-08-13fix(ext/crypto): importKey() SecurityError on non-extractable keys (#11662)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-08-12fix: Blob#slice arguments should be optional (#11665)Luca Casonato
2021-08-12chore(tools): use local std in wpt utils (#11644)Divy Srivastava
2021-08-10feat: add experimental WebSocketStream API (#10365)Leo K
This commit adds the experimental WebSocketStream API when using the --unstable flag. The explainer for the API can be found here: https://github.com/ricea/websocketstream-explainer
2021-08-09chore: update wpt (#11621)Luca Casonato
2021-08-04feat(extensions/crypto): implement verify() for HMAC (#11387)Divy Srivastava
2021-08-03feat(extensions/crypto): implement importKey and exportKey for raw HMAC keys ↵Divy Srivastava
(#11367) This commit introduces "SubtleCrypto.importKey()" and "SubtleCrypto.exportKey()" APIs.
2021-08-02Revert "fix(extensions/fetch): Add Origin header to outgoing requests for ↵Bartek Iwańczuk
fetch (#11557)" (#11565) This reverts commit f87aa44d94240327fb4ab1dc756d70f71247edb4.
2021-08-02fix(extensions/fetch): Add Origin header to outgoing requests for fetch (#11557)Feng Yu
2021-07-19fix: Big{U|}Int64Array in crypto.getRandomValues (#11447)Luca Casonato
Relevant spec change: https://github.com/w3c/webcrypto/pull/266
2021-07-19chore: update wpt (#11446)Luca Casonato
2021-07-14fix(extensions/web): aborting a FileReader should not affect later reads ↵Andreu Botella
(#11381) Currently, calling the `abort()` method on a `FileReader` object aborts any current read operation, but it also prevents any read operation started at some later point from starting. The File API instead specifies that calling `abort()` should reset the `FileReader`'s state and result, as well as removing any queued tasks from the current operation that haven't yet run.
2021-07-12chore(wpt): Mark a WPT test as failed if it exits before completion (#11371)Andreu Botella
Currently, a WPT test is considered failed if its status code is anything other than 0, regardless of whether the test suite completed running or not, and any subtests that haven't finished running are not considered to be failures. But a test can exit with a zero status code before it has completed running, if the event loop has run out of tasks because of a bug in one of the ops, leading to false positives. This change fixes that.
2021-07-12feat(extensions/crypto): implement verify() for RSA (#11312)Divy Srivastava
2021-07-10fix(extensiosn/web): AddEventListenerOptions.signal shouldn't be nullable ↵Divy Srivastava
(#11348)
2021-07-09chore(extensions/crypto): enable WPT stringification test (#11336)Divy Srivastava
2021-07-07tests: escape lone surrogates in wptreport (#11310)Andreu Botella
2021-07-06feat(crypto): implement generateKey() and sign() (#9614)Divy Srivastava
Co-authored-by: Luca Casonato <hello@lcas.dev> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-07-05refactor: asynchronous blob backing store (#10969)Jimmy Wärting
Co-authored-by: Luca Casonato <hello@lcas.dev>
2021-07-05fix: spec conformance for performance API (#10887)Leo K
2021-07-04fix: align DOMException to webidl spec (#11259)Luca Casonato
2021-07-03feat: enable WebAssembly.instantiateStreaming and wasm async compilation ↵Andreu Botella
(#11200) The WebAssembly streaming APIs used to be enabled, but used to take buffer sources as their first argument (see #6154 and #7259). This change re-enables them, requiring a Promise<Response> instead, as well as enabling asynchronous compilation of WebAssembly modules.
2021-07-03chore: update wpt submoduleLuca Casonato
2021-07-02chore: upgrade rusty_v8 and serde_v8 (#11216)Bartek Iwańczuk
2021-06-26fix(fetch): encode and decode headers as byte strings (#11070)Andreu Botella
2021-06-24chore(wpt): clean up temporary files created by the WPT test runner (#11108)Andreu Botella
Fixes #11107.
2021-06-24fix(url): use USVStrings in URLSearchParams constructor (#11101)Andreu Botella
2021-06-23tests: fix bug in WPT test harness (#10920)Bert Belder
2021-06-23fix(fetch): proxy body for requests created from other requests (#11093)Andreu Botella
Additionally, if the existing `Request`'s body is disturbed, the Request creation should fail. This change also updates the step numbers in the Request constructor to match whatwg/fetch#1249.
2021-06-21feat: `MessageChannel` and `MessagePort` (#11051)Luca Casonato
This commit introduces support for MessageChannel and MessagePort. MessagePorts can be transfered across other MessagePorts.
2021-06-21fix(websocket): spec conformance & WPT (#11010)Leo K
2021-06-18fix: fetch with method HEAD should not have body (#11003)Yasser A.Idrissi
2021-06-16fix: align URL / URLSearchParams to spec (#11005)Luca Casonato
2021-06-16fix: some more console spec compliance (#10983)Luca Casonato
2021-06-16fix: closing / aborting WritableStream is racy (#10982)Luca Casonato
2021-06-15fix: pass some more WHATWG streams WPT (#10970)Luca Casonato
2021-06-15fix: make WHATWG streams more compliant (#10967)Luca Casonato
2021-06-14tests: fix wpt epoch ci job (#10960)Luca Casonato
2021-06-14build: add wpt epoch/daily run (#10937)Luca Casonato
This adds a daily scheduled CI pipeline that runs WPT tests against the most recent epochs/daily every night. Results are uploaded to wpt.fyi. WPTs are run on all supported platforms, on both stable and canary.
2021-06-11fix: propagate top level thrown errors in WPT (#10932)Luca Casonato
Previously top level errors were swallowed.
2021-06-07chore: update wpt (#10884)Luca Casonato
This commit updates wpt. It tries to get us ever closer to eventually stop floating patches, and being able to use wpt upstream.
2021-06-07refactor: clean up webidl protype configuration (#10871)Luca Casonato
2021-06-06tests: run wpt scripts with Deno.core.evalContext (#10852)Luca Casonato
This means wpts are now run in script context, and there are better stack traces.
2021-06-06tests: generate and upload wptreport.json (#10869)Luca Casonato
These reports can be consumed by tools like `wptreport` or https://wpt.fyi. The old style report could be removed in a future PR when wpt.deno.land is updated.
2021-06-06feat(fetch): implement abort (#10863)Luca Casonato
This commit introduces fetch aborting via an AbortSignal.
2021-06-06feat(extensions/crypto): implement subtle.digest (#10796)Casper Beyer
Co-authored-by: Yacine Hmito yacinehmito@users.noreply.github.com
2021-06-06feat(web): Implement TextDecoderStream and TextEncoderStream (#10842)Andreu Botella
2021-06-05refactor(web): use encoding_rs for text encoding (#10844)Luca Casonato
This commit removes all JS based text encoding / text decoding. Instead encoding now happens in Rust via encoding_rs (already in tree). This implementation retains stream support, but adds the last missing encodings. We are incredibly close to 100% WPT on text encoding now. This should reduce our baseline heap by quite a bit.