summaryrefslogtreecommitdiff
path: root/ext/webidl/benches/dict.js
diff options
context:
space:
mode:
Diffstat (limited to 'ext/webidl/benches/dict.js')
-rw-r--r--ext/webidl/benches/dict.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/webidl/benches/dict.js b/ext/webidl/benches/dict.js
index 353a630eb..b53326de9 100644
--- a/ext/webidl/benches/dict.js
+++ b/ext/webidl/benches/dict.js
@@ -2,7 +2,10 @@
// deno-lint-ignore-file
-const { createDictionaryConverter, converters } = globalThis.__bootstrap.webidl;
+import {
+ converters,
+ createDictionaryConverter,
+} from "internal:ext/webidl/00_webidl.js";
const TextDecodeOptions = createDictionaryConverter(
"TextDecodeOptions",
@@ -14,6 +17,7 @@ const TextDecodeOptions = createDictionaryConverter(
},
],
);
+globalThis.TextDecodeOptions = TextDecodeOptions;
// Sanity check
{
@@ -33,3 +37,4 @@ function handwrittenConverter(V) {
}
return defaultValue;
}
+globalThis.handwrittenConverter = handwrittenConverter;