summaryrefslogtreecommitdiff
path: root/ext/crypto/00_crypto.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/crypto/00_crypto.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/crypto/00_crypto.js')
-rw-r--r--ext/crypto/00_crypto.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js
index f262e43d9..de4ad07e1 100644
--- a/ext/crypto/00_crypto.js
+++ b/ext/crypto/00_crypto.js
@@ -361,7 +361,7 @@ class CryptoKey {
}
}
-webidl.configurePrototype(CryptoKey);
+webidl.configureInterface(CryptoKey);
const CryptoKeyPrototype = CryptoKey.prototype;
/**
@@ -4671,7 +4671,7 @@ async function encrypt(normalizedAlgorithm, key, data) {
}
}
-webidl.configurePrototype(SubtleCrypto);
+webidl.configureInterface(SubtleCrypto);
const subtle = webidl.createBranded(SubtleCrypto);
class Crypto {
@@ -4734,7 +4734,7 @@ class Crypto {
}
}
-webidl.configurePrototype(Crypto);
+webidl.configureInterface(Crypto);
const CryptoPrototype = Crypto.prototype;
const crypto = webidl.createBranded(Crypto);