summaryrefslogtreecommitdiff
path: root/ext/broadcast_channel/01_broadcast_channel.js
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-05-01 12:47:13 +0200
committerGitHub <noreply@github.com>2023-05-01 10:47:13 +0000
commitb31cf9fde6ad5398c20370c136695db77df6beeb (patch)
tree23ef5cd5d6e9342abefdc37332cc12d9bce3f245 /ext/broadcast_channel/01_broadcast_channel.js
parentd856bfd336137e1bcf81a0db9e8ad2b418ba711e (diff)
refactor(webidl): move prefix & context out of converters options bag (#18931)
Diffstat (limited to 'ext/broadcast_channel/01_broadcast_channel.js')
-rw-r--r--ext/broadcast_channel/01_broadcast_channel.js5
1 files changed, 1 insertions, 4 deletions
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;