Skip to content

Commit dd1ea77

Browse files
aduh95juanarbol
authored andcommitted
test: remove hack for atob and btoa WPT tests
PR-URL: #42540 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Khaidi Chu <i@2333.moe> Reviewed-By: Mestery <mestery@protonmail.com>
1 parent d2f17ac commit dd1ea77

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/wpt/test-atob.js

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,4 @@ const { WPTRunner } = require('../common/wpt');
55

66
const runner = new WPTRunner('html/webappapis/atob');
77

8-
// Needed to access to DOMException.
9-
runner.setFlags(['--expose-internals']);
10-
11-
// Set a script that will be executed in the worker before running the tests.
12-
runner.setInitScript(`
13-
const { internalBinding } = require('internal/test/binding');
14-
const { atob, btoa } = require('buffer');
15-
`);
16-
178
runner.runJsTests();

0 commit comments

Comments
 (0)