diff --git a/test/wpt/test-atob.js b/test/wpt/test-atob.js index 51fa27e36d3f2f..b227ae4d20e105 100644 --- a/test/wpt/test-atob.js +++ b/test/wpt/test-atob.js @@ -5,15 +5,4 @@ const { WPTRunner } = require('../common/wpt'); const runner = new WPTRunner('html/webappapis/atob'); -// Needed to access to DOMException. -runner.setFlags(['--expose-internals']); - -// Set a script that will be executed in the worker before running the tests. -runner.setInitScript(` - const { internalBinding } = require('internal/test/binding'); - const { atob, btoa } = require('buffer'); - const { DOMException } = internalBinding('messaging'); - global.DOMException = DOMException; -`); - runner.runJsTests();