summaryrefslogtreecommitdiff
path: root/ext/web/15_performance.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2023-10-10 12:01:01 +0900
committerGitHub <noreply@github.com>2023-10-10 05:01:01 +0200
commit2665ca103e64ae07d7c29d3400d0c37ec691ff50 (patch)
tree97babf0dbda5b2bbcf9b8e5a54bb0c4608419c98 /ext/web/15_performance.js
parent84c9300aff08a9a1dcb214356f022315cc6736fb (diff)
fix(ext/web): writability of `ReadableStream.from` (#20836)
Fixes a WPT in `URL` and `ReadableStream`. Some unrelated WPT expectation changes due to WPT update.
Diffstat (limited to 'ext/web/15_performance.js')
-rw-r--r--ext/web/15_performance.js8
1 files changed, 4 insertions, 4 deletions
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(