summaryrefslogtreecommitdiff
path: root/ext/web/15_performance.js
diff options
context:
space:
mode:
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(