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/web/09_file.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/web/09_file.js') diff --git a/ext/web/09_file.js b/ext/web/09_file.js index fd0451438..30b91c053 100644 --- a/ext/web/09_file.js +++ b/ext/web/09_file.js @@ -428,7 +428,7 @@ class Blob { } } -webidl.configurePrototype(Blob); +webidl.configureInterface(Blob); const BlobPrototype = Blob.prototype; webidl.converters["Blob"] = webidl.createInterfaceConverter( @@ -549,7 +549,7 @@ class File extends Blob { } } -webidl.configurePrototype(File); +webidl.configureInterface(File); const FilePrototype = File.prototype; webidl.converters["FilePropertyBag"] = webidl.createDictionaryConverter( -- cgit v1.2.3