From 9338770a709b3f0bc79c9b3d00e5f522857a5c5c Mon Sep 17 00:00:00 2001 From: Mattias Buelens <649348+MattiasBuelens@users.noreply.github.com> Date: Tue, 14 May 2024 01:34:25 +0200 Subject: fix(ext/web): update ongoing promise in async iterator `return()` method (#23642) See https://github.com/whatwg/webidl/pull/1387 for context. There are new WPT tests for this change in https://github.com/web-platform-tests/wpt/pull/44456. They pass on my local machine, but I'm not sure if I should update the WPT submodule for all of Deno as part of this PR? Fixes #22389 --------- Co-authored-by: Asher Gomez : Setting .hash = ' ' Trailing space should be encoded", ": Setting .hash = ' ' Trailing space should be encoded", ": Setting .hash = '\u0000' Trailing C0 control should be encoded", - ": Setting .hash = '\u0000' Trailing C0 control should be encoded" + ": Setting .hash = '\u0000' Trailing C0 control should be encoded", + ": Setting .host = 'example.com?stuff:8080' Stuff after a ? delimiter is ignored, trailing 'port'", + ": Setting .host = 'example.com?stuff:8080' Stuff after a ? delimiter is ignored, trailing 'port'", + ": Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + ": Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + ": Setting .host = '[::1]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + ": Setting .host = '[::1]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + ": Setting .host = '[::1]' IPv6 without port", + ": Setting .host = '[::1]' IPv6 without port" ], "url-setters-a-area.window.html?include=file": [ ": Setting .protocol = 'http' Can’t switch from file URL with no host", @@ -4599,7 +4636,9 @@ "URL: Setting .pathname = '//p'", "URL: Setting .pathname = 'p' Drop /. from path", "URL: Setting .search = '' Do not drop trailing spaces from non-trailing opaque paths", - "URL: Setting .search = ''" + "URL: Setting .search = ''", + "URL: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + "URL: Setting .host = '[::1]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error" ], "url-setters.any.html?include=file": [ "URL: Setting .pathname = '\\\\' File URLs and (back)slashes", @@ -4621,7 +4660,9 @@ "URL: Setting .pathname = '//p'", "URL: Setting .pathname = 'p' Drop /. from path", "URL: Setting .search = '' Do not drop trailing spaces from non-trailing opaque paths", - "URL: Setting .search = ''" + "URL: Setting .search = ''", + "URL: Setting .host = 'example.com:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error", + "URL: Setting .host = '[::1]:invalid' Anything other than ASCII digit stops the port parser in a setter but is not an error" ], "url-setters.any.worker.html?include=file": [ "URL: Setting .pathname = '\\\\' File URLs and (back)slashes", @@ -6603,8 +6644,8 @@ ], "forbidden-method.any.html": true, "forbidden-method.any.worker.html": true, - "request-bad-port.any.html": false, - "request-bad-port.any.worker.html": false, + "request-bad-port.any.html": true, + "request-bad-port.any.worker.html": true, "request-cache-default-conditional.any.html": true, "request-cache-default-conditional.any.worker.html": true, "request-cache-default.any.html": [ diff --git a/tests/wpt/suite b/tests/wpt/suite index daa07cf3c..5e8f71d73 160000 --- a/tests/wpt/suite +++ b/tests/wpt/suite @@ -1 +1 @@ -Subproject commit daa07cf3c47652ed67e637f2a39bbc34f91cfe10 +Subproject commit 5e8f71d73049d4fca2a8cbc62d40e821400f1624 -- cgit v1.2.3