summaryrefslogtreecommitdiff
path: root/ext/web/03_abort_signal.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-10-10 12:01:01 +0900
committerGitHub <noreply@github.com>2023-10-10 05:01:01 +0200
commit2665ca103e64ae07d7c29d3400d0c37ec691ff50 (patch)
tree97babf0dbda5b2bbcf9b8e5a54bb0c4608419c98 /ext/web/03_abort_signal.js
parent84c9300aff08a9a1dcb214356f022315cc6736fb (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/web/03_abort_signal.js')
-rw-r--r--ext/web/03_abort_signal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/web/03_abort_signal.js b/ext/web/03_abort_signal.js
index 2cc64189b..9b5eb51ad 100644
--- a/ext/web/03_abort_signal.js
+++ b/ext/web/03_abort_signal.js
@@ -152,7 +152,7 @@ class AbortSignal extends EventTarget {
}
defineEventHandler(AbortSignal.prototype, "abort");
-webidl.configurePrototype(AbortSignal);
+webidl.configureInterface(AbortSignal);
const AbortSignalPrototype = AbortSignal.prototype;
class AbortController {
@@ -173,7 +173,7 @@ class AbortController {
}
}
-webidl.configurePrototype(AbortController);
+webidl.configureInterface(AbortController);
const AbortControllerPrototype = AbortController.prototype;
webidl.converters["AbortSignal"] = webidl.createInterfaceConverter(