Skip to content

Commit

Permalink
test: remove hack for atob and btoa WPT tests
Browse files Browse the repository at this point in the history
PR-URL: #42540
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Khaidi Chu <[email protected]>
Reviewed-By: Mestery <[email protected]>
  • Loading branch information
aduh95 authored and juanarbol committed May 31, 2022
1 parent 6dd0772 commit 0ad7f4b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/wpt/test-atob.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();

0 comments on commit 0ad7f4b

Please sign in to comment.