fix(ext/web): writability of ReadableStream.from (#20836)

Fixes a WPT in `URL` and `ReadableStream`.

Some unrelated WPT expectation changes due to WPT update.
This commit is contained in:
Luca Casonato 2023-10-10 12:01:01 +09:00 committed by GitHub
parent 84c9300aff
commit 2665ca103e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1064 additions and 307 deletions

View file

@ -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(