diff options
Diffstat (limited to 'ext/crypto/00_crypto.js')
-rw-r--r-- | ext/crypto/00_crypto.js | 6 |
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); |