From b31cf9fde6ad5398c20370c136695db77df6beeb Mon Sep 17 00:00:00 2001 From: Leo Kettmeir Date: Mon, 1 May 2023 12:47:13 +0200 Subject: refactor(webidl): move prefix & context out of converters options bag (#18931) --- ext/broadcast_channel/01_broadcast_channel.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ext/broadcast_channel') diff --git a/ext/broadcast_channel/01_broadcast_channel.js b/ext/broadcast_channel/01_broadcast_channel.js index a9a7eb991..d92aef072 100644 --- a/ext/broadcast_channel/01_broadcast_channel.js +++ b/ext/broadcast_channel/01_broadcast_channel.js @@ -85,10 +85,7 @@ class BroadcastChannel extends EventTarget { const prefix = "Failed to construct 'BroadcastChannel'"; webidl.requiredArguments(arguments.length, 1, prefix); - this[_name] = webidl.converters["DOMString"](name, { - prefix, - context: "Argument 1", - }); + this[_name] = webidl.converters["DOMString"](name, prefix, "Argument 1"); this[webidl.brand] = webidl.brand; -- cgit v1.2.3