mirror of
https://github.com/denoland/deno.git
synced 2025-08-30 07:18:02 +00:00
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:
parent
84c9300aff
commit
2665ca103e
24 changed files with 1064 additions and 307 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue