mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
This reverts commit 884143218f
.
This commit is contained in:
parent
382a978859
commit
f248e6f177
41 changed files with 658 additions and 1028 deletions
|
@ -53,18 +53,17 @@
|
|||
}
|
||||
|
||||
get readable() {
|
||||
webidl.assertBranded(this, CompressionStreamPrototype);
|
||||
webidl.assertBranded(this, CompressionStream);
|
||||
return this.#transform.readable;
|
||||
}
|
||||
|
||||
get writable() {
|
||||
webidl.assertBranded(this, CompressionStreamPrototype);
|
||||
webidl.assertBranded(this, CompressionStream);
|
||||
return this.#transform.writable;
|
||||
}
|
||||
}
|
||||
|
||||
webidl.configurePrototype(CompressionStream);
|
||||
const CompressionStreamPrototype = CompressionStream.prototype;
|
||||
|
||||
class DecompressionStream {
|
||||
#transform;
|
||||
|
@ -99,12 +98,12 @@
|
|||
}
|
||||
|
||||
get readable() {
|
||||
webidl.assertBranded(this, DecompressionStreamPrototype);
|
||||
webidl.assertBranded(this, DecompressionStream);
|
||||
return this.#transform.readable;
|
||||
}
|
||||
|
||||
get writable() {
|
||||
webidl.assertBranded(this, DecompressionStreamPrototype);
|
||||
webidl.assertBranded(this, DecompressionStream);
|
||||
return this.#transform.writable;
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +115,6 @@
|
|||
}
|
||||
|
||||
webidl.configurePrototype(DecompressionStream);
|
||||
const DecompressionStreamPrototype = DecompressionStream.prototype;
|
||||
|
||||
window.__bootstrap.compression = {
|
||||
CompressionStream,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue