From 2665ca103e64ae07d7c29d3400d0c37ec691ff50 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 10 Oct 2023 12:01:01 +0900 Subject: fix(ext/web): writability of `ReadableStream.from` (#20836) Fixes a WPT in `URL` and `ReadableStream`. Some unrelated WPT expectation changes due to WPT update. --- ext/crypto/00_crypto.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/crypto') 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); -- cgit v1.2.3