summaryrefslogtreecommitdiff
path: root/ext/web/14_compression.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-01-27 16:27:22 +0100
committerGitHub <noreply@github.com>2022-01-27 16:27:22 +0100
commitf248e6f1778dc26db91d3322de2ecca5d1aa9866 (patch)
tree46b1ff59091cc8d31ff67427173d3a0148734007 /ext/web/14_compression.js
parent382a978859a7a7a4351542be818bb2e59523429c (diff)
Revert "refactor: update runtime code for primordial checks for "instanceof" (#13497)" (#13511)
This reverts commit 884143218fad0e18f7553aaf079d52de703f7601.
Diffstat (limited to 'ext/web/14_compression.js')
-rw-r--r--ext/web/14_compression.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/ext/web/14_compression.js b/ext/web/14_compression.js
index 081495894..1a0f77e66 100644
--- a/ext/web/14_compression.js
+++ b/ext/web/14_compression.js
@@ -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,