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/15_performance.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/web/15_performance.js') diff --git a/ext/web/15_performance.js b/ext/web/15_performance.js index 72f4d3a7e..9ec2cd376 100644 --- a/ext/web/15_performance.js +++ b/ext/web/15_performance.js @@ -212,7 +212,7 @@ class PerformanceEntry { })); } } -webidl.configurePrototype(PerformanceEntry); +webidl.configureInterface(PerformanceEntry); const PerformanceEntryPrototype = PerformanceEntry.prototype; const _detail = Symbol("[[detail]]"); @@ -279,7 +279,7 @@ class PerformanceMark extends PerformanceEntry { })); } } -webidl.configurePrototype(PerformanceMark); +webidl.configureInterface(PerformanceMark); const PerformanceMarkPrototype = PerformanceMark.prototype; class PerformanceMeasure extends PerformanceEntry { [_detail] = null; @@ -338,7 +338,7 @@ class PerformanceMeasure extends PerformanceEntry { })); } } -webidl.configurePrototype(PerformanceMeasure); +webidl.configureInterface(PerformanceMeasure); const PerformanceMeasurePrototype = PerformanceMeasure.prototype; class Performance extends EventTarget { constructor(key = null) { @@ -577,7 +577,7 @@ class Performance extends EventTarget { })); } } -webidl.configurePrototype(Performance); +webidl.configureInterface(Performance); const PerformancePrototype = Performance.prototype; webidl.converters["Performance"] = webidl.createInterfaceConverter( -- cgit v1.2.3