summaryrefslogtreecommitdiff
path: root/ext/web/13_message_port.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/web/13_message_port.js')
-rw-r--r--ext/web/13_message_port.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/web/13_message_port.js b/ext/web/13_message_port.js
index ffbc48812..4b0404ab6 100644
--- a/ext/web/13_message_port.js
+++ b/ext/web/13_message_port.js
@@ -64,7 +64,7 @@ class MessageChannel {
}
}
-webidl.configurePrototype(MessageChannel);
+webidl.configureInterface(MessageChannel);
const MessageChannelPrototype = MessageChannel.prototype;
const _id = Symbol("id");
@@ -188,7 +188,7 @@ defineEventHandler(MessagePort.prototype, "message", function (self) {
});
defineEventHandler(MessagePort.prototype, "messageerror");
-webidl.configurePrototype(MessagePort);
+webidl.configureInterface(MessagePort);
const MessagePortPrototype = MessagePort.prototype;
/**