summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/wpt/runner.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/wpt/runner.ts b/tools/wpt/runner.ts
index ce6d41841..a3c22006a 100644
--- a/tools/wpt/runner.ts
+++ b/tools/wpt/runner.ts
@@ -185,9 +185,9 @@ async function generateBundle(location: URL): Promise<string> {
return scriptContents.map(([url, contents]) => `
(function() {
- const [_,err] = Deno.core.evalContext(${JSON.stringify(contents)}, ${
- JSON.stringify(url)
- });
+ const [_,err] = Deno[Deno.internal].core.evalContext(${
+ JSON.stringify(contents)
+ }, ${JSON.stringify(url)});
if (err !== null) {
throw err?.thrown;
}