diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-07 10:04:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 10:04:10 +0200 |
commit | 3a4a47799fe395a4ceb253c394724f54192150d2 (patch) | |
tree | e1b801543101d28d4352794faa26b2dc65f04670 /extensions/crypto/01_crypto.js | |
parent | 3b220c64f615a4e18346e8a1c07ad7b1aae9fcc6 (diff) |
refactor: clean up webidl protype configuration (#10871)
Diffstat (limited to 'extensions/crypto/01_crypto.js')
-rw-r--r-- | extensions/crypto/01_crypto.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/extensions/crypto/01_crypto.js b/extensions/crypto/01_crypto.js index 0f8f72937..e8ae65ef3 100644 --- a/extensions/crypto/01_crypto.js +++ b/extensions/crypto/01_crypto.js @@ -158,10 +158,7 @@ } } - Object.defineProperty(Crypto.prototype, "subtle", { - configurable: true, - enumerable: true, - }); + webidl.configurePrototype(Crypto); window.__bootstrap.crypto = { SubtleCrypto, |