diff options
| author | Luca Casonato <hello@lcas.dev> | 2023-10-10 12:01:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-10 05:01:01 +0200 |
| commit | 2665ca103e64ae07d7c29d3400d0c37ec691ff50 (patch) | |
| tree | 97babf0dbda5b2bbcf9b8e5a54bb0c4608419c98 /ext/url | |
| parent | 84c9300aff08a9a1dcb214356f022315cc6736fb (diff) | |
fix(ext/web): writability of `ReadableStream.from` (#20836)
Fixes a WPT in `URL` and `ReadableStream`.
Some unrelated WPT expectation changes due to WPT update.
Diffstat (limited to 'ext/url')
| -rw-r--r-- | ext/url/00_url.js | 4 | ||||
| -rw-r--r-- | ext/url/01_urlpattern.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/url/00_url.js b/ext/url/00_url.js index 65cde2ce2..ce366a27a 100644 --- a/ext/url/00_url.js +++ b/ext/url/00_url.js @@ -324,7 +324,7 @@ class URLSearchParams { webidl.mixinPairIterable("URLSearchParams", URLSearchParams, _list, 0, 1); -webidl.configurePrototype(URLSearchParams); +webidl.configureInterface(URLSearchParams); const URLSearchParamsPrototype = URLSearchParams.prototype; webidl.converters["URLSearchParams"] = webidl.createInterfaceConverter( @@ -806,7 +806,7 @@ class URL { } } -webidl.configurePrototype(URL); +webidl.configureInterface(URL); const URLPrototype = URL.prototype; /** diff --git a/ext/url/01_urlpattern.js b/ext/url/01_urlpattern.js index e6d21e49d..0cabccc1b 100644 --- a/ext/url/01_urlpattern.js +++ b/ext/url/01_urlpattern.js @@ -238,7 +238,7 @@ class URLPattern { } } -webidl.configurePrototype(URLPattern); +webidl.configureInterface(URLPattern); const URLPatternPrototype = URLPattern.prototype; webidl.converters.URLPatternInit = webidl |
