node/test/fixtures/wpt/encoding/idlharness.any.js
Daijiro Wachi 6fc3b0ddb9 test: update wpt tests for encoding
Refs: https://github.com/web-platform-tests/wpt/pull/25542

PR-URL: https://github.com/nodejs/node/pull/35330
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Shingo Inoue <leko.noor@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
2020-09-28 14:03:27 +09:00

14 lines
299 B
JavaScript

// META: global=window,worker
// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
idl_test(
['encoding'],
['streams'],
idl_array => {
idl_array.add_objects({
TextEncoder: ['new TextEncoder()'],
TextDecoder: ['new TextDecoder()']
});
}
);