summaryrefslogtreecommitdiff
path: root/test/wpt/test-encoding.js
blob: f868a7bac3998789bed5b2c83f9c81db93c2ad99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
'use strict';

// Flags: --expose-internals

require('../common');
const { WPTRunner } = require('../common/wpt');
const runner = new WPTRunner('encoding');

// Copy global descriptors from the global object
runner.copyGlobalsFromObject(global, ['TextDecoder', 'TextEncoder']);

runner.runJsTests();