diff --git a/op_crates/web/03_abort_signal.js b/op_crates/web/03_abort_signal.js index 3090513eba352e..693b5342a63ea5 100644 --- a/op_crates/web/03_abort_signal.js +++ b/op_crates/web/03_abort_signal.js @@ -14,6 +14,12 @@ #aborted = false; #abortAlgorithms = new Set(); + static abort() { + const signal = new AbortSignal(illegalConstructorKey); + signal[signalAbort](); + return signal; + } + [add](algorithm) { this.#abortAlgorithms.add(algorithm); } diff --git a/test_util/wpt b/test_util/wpt index 182191819bbfdc..681d273a49e7b5 160000 --- a/test_util/wpt +++ b/test_util/wpt @@ -1 +1 @@ -Subproject commit 182191819bbfdc409bf5f29a5ea3bedb4545b91e +Subproject commit 681d273a49e7b5228394285b0c017f1b4c0d33b0 diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index 4dc968fae965c6..852f488a3553be 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -353,7 +353,9 @@ "default-reader.any.js": true, "floating-point-total-queue-size.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, "reentrant-strategies.any.js": true, "tee.any.js": true, @@ -367,7 +369,9 @@ "flush.any.js": true, "general.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, "reentrant-strategies.any.js": true, "strategies.any.js": true, @@ -630,6 +634,12 @@ "idlharness.any.js": false, "url-constructor.any.js": [ "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", "Parsing: against ", "Parsing: against ", "Parsing: against ", @@ -722,18 +732,12 @@ ], "urlsearchparams-append.any.js": true, "urlsearchparams-constructor.any.js": [ - "URLSearchParams constructor, empty string as argument", "Construct with 2 unpaired surrogates (no trailing)", "Construct with 3 unpaired surrogates (no leading)", "Construct with object with NULL, non-ASCII, and surrogate keys" ], "urlsearchparams-delete.any.js": true, - "urlsearchparams-foreach.any.js": [ - "For-of Check", - "delete next param during iteration", - "delete current param during iteration", - "delete every param seen during iteration" - ], + "urlsearchparams-foreach.any.js": true, "urlsearchparams-get.any.js": true, "urlsearchparams-getall.any.js": true, "urlsearchparams-has.any.js": true, @@ -794,4 +798,4 @@ } } } -} +} \ No newline at end of file