We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
atob
btoa
1 parent 6dd0772 commit 0ad7f4bCopy full SHA for 0ad7f4b
test/wpt/test-atob.js
@@ -5,15 +5,4 @@ const { WPTRunner } = require('../common/wpt');
5
6
const runner = new WPTRunner('html/webappapis/atob');
7
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
- const { DOMException } = internalBinding('messaging');
16
- global.DOMException = DOMException;
17
-`);
18
19
runner.runJsTests();
0 commit comments