From 4cbb1ea9100a4b2311c52c6442736f67384469f2 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Sun, 3 Apr 2022 11:40:21 +0200 Subject: [PATCH] test: remove hack for `atob` and `btoa` WPT tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/42540 Reviewed-By: Michaël Zasso Reviewed-By: Luigi Pinca Reviewed-By: Tobias Nießen Reviewed-By: Rich Trott Reviewed-By: Khaidi Chu Reviewed-By: Mestery --- test/wpt/test-atob.js | 9 --------- 1 file changed, 9 deletions(-) diff --git a/test/wpt/test-atob.js b/test/wpt/test-atob.js index 8dc9c20303a7dc..b227ae4d20e105 100644 --- a/test/wpt/test-atob.js +++ b/test/wpt/test-atob.js @@ -5,13 +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'); -`); - runner.runJsTests();