summaryrefslogtreecommitdiff
path: root/ext/web/08_text_encoding.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/08_text_encoding.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/08_text_encoding.js')
-rw-r--r--ext/web/08_text_encoding.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/web/08_text_encoding.js b/ext/web/08_text_encoding.js
index e7e535f90..45dbad538 100644
--- a/ext/web/08_text_encoding.js
+++ b/ext/web/08_text_encoding.js
@@ -192,7 +192,7 @@ class TextDecoder {
}
}
-webidl.configurePrototype(TextDecoder);
+webidl.configureInterface(TextDecoder);
const TextDecoderPrototype = TextDecoder.prototype;
class TextEncoder {
@@ -251,7 +251,7 @@ class TextEncoder {
const encodeIntoBuf = new Uint32Array(2);
-webidl.configurePrototype(TextEncoder);
+webidl.configureInterface(TextEncoder);
const TextEncoderPrototype = TextEncoder.prototype;
class TextDecoderStream {
@@ -336,7 +336,7 @@ class TextDecoderStream {
}
}
-webidl.configurePrototype(TextDecoderStream);
+webidl.configureInterface(TextDecoderStream);
const TextDecoderStreamPrototype = TextDecoderStream.prototype;
class TextEncoderStream {
@@ -409,7 +409,7 @@ class TextEncoderStream {
}
}
-webidl.configurePrototype(TextEncoderStream);
+webidl.configureInterface(TextEncoderStream);
const TextEncoderStreamPrototype = TextEncoderStream.prototype;
webidl.converters.TextDecoderOptions = webidl.createDictionaryConverter(