1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix: update wpt + align AbortController (#9907)

This commit is contained in:
crowlKats 2021-03-27 15:49:57 +01:00 committed by Kitson Kelly
parent 1677c90082
commit 3fa962d5cb
No known key found for this signature in database
GPG key ID: 2D87CFF11B51960A
3 changed files with 21 additions and 11 deletions

View file

@ -14,6 +14,12 @@
#aborted = false; #aborted = false;
#abortAlgorithms = new Set(); #abortAlgorithms = new Set();
static abort() {
const signal = new AbortSignal(illegalConstructorKey);
signal[signalAbort]();
return signal;
}
[add](algorithm) { [add](algorithm) {
this.#abortAlgorithms.add(algorithm); this.#abortAlgorithms.add(algorithm);
} }

@ -1 +1 @@
Subproject commit 182191819bbfdc409bf5f29a5ea3bedb4545b91e Subproject commit 681d273a49e7b5228394285b0c017f1b4c0d33b0

View file

@ -353,7 +353,9 @@
"default-reader.any.js": true, "default-reader.any.js": true,
"floating-point-total-queue-size.any.js": true, "floating-point-total-queue-size.any.js": true,
"garbage-collection.any.js": true, "garbage-collection.any.js": true,
"general.any.js": true, "general.any.js": [
"ReadableStream: if pull rejects, it should error the stream"
],
"patched-global.any.js": true, "patched-global.any.js": true,
"reentrant-strategies.any.js": true, "reentrant-strategies.any.js": true,
"tee.any.js": true, "tee.any.js": true,
@ -367,7 +369,9 @@
"flush.any.js": true, "flush.any.js": true,
"general.any.js": true, "general.any.js": true,
"lipfuzz.any.js": true, "lipfuzz.any.js": true,
"patched-global.any.js": false, "patched-global.any.js": [
"TransformStream constructor should not call setters for highWaterMark or size"
],
"properties.any.js": true, "properties.any.js": true,
"reentrant-strategies.any.js": true, "reentrant-strategies.any.js": true,
"strategies.any.js": true, "strategies.any.js": true,
@ -630,6 +634,12 @@
"idlharness.any.js": false, "idlharness.any.js": false,
"url-constructor.any.js": [ "url-constructor.any.js": [
"Parsing: <http://example.com/\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿?\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿> against <about:blank>", "Parsing: <http://example.com/\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿?\ud800𐟾\udfff﷐﷏﷯ﷰ￾￿> against <about:blank>",
"Parsing: <file://%43%7C> against <about:blank>",
"Parsing: <file://%43|> against <about:blank>",
"Parsing: <file://C%7C> against <about:blank>",
"Parsing: <file://%43%7C/> against <about:blank>",
"Parsing: <https://%43%7C/> against <about:blank>",
"Parsing: <asdf://%43|/> against <about:blank>",
"Parsing: </> against <file://h/C:/a/b>", "Parsing: </> against <file://h/C:/a/b>",
"Parsing: <file:\\\\//> against <about:blank>", "Parsing: <file:\\\\//> against <about:blank>",
"Parsing: <file:\\\\\\\\> against <about:blank>", "Parsing: <file:\\\\\\\\> against <about:blank>",
@ -722,18 +732,12 @@
], ],
"urlsearchparams-append.any.js": true, "urlsearchparams-append.any.js": true,
"urlsearchparams-constructor.any.js": [ "urlsearchparams-constructor.any.js": [
"URLSearchParams constructor, empty string as argument",
"Construct with 2 unpaired surrogates (no trailing)", "Construct with 2 unpaired surrogates (no trailing)",
"Construct with 3 unpaired surrogates (no leading)", "Construct with 3 unpaired surrogates (no leading)",
"Construct with object with NULL, non-ASCII, and surrogate keys" "Construct with object with NULL, non-ASCII, and surrogate keys"
], ],
"urlsearchparams-delete.any.js": true, "urlsearchparams-delete.any.js": true,
"urlsearchparams-foreach.any.js": [ "urlsearchparams-foreach.any.js": true,
"For-of Check",
"delete next param during iteration",
"delete current param during iteration",
"delete every param seen during iteration"
],
"urlsearchparams-get.any.js": true, "urlsearchparams-get.any.js": true,
"urlsearchparams-getall.any.js": true, "urlsearchparams-getall.any.js": true,
"urlsearchparams-has.any.js": true, "urlsearchparams-has.any.js": true,
@ -794,4 +798,4 @@
} }
} }
} }
} }