fune/testing/web-platform/tests/encoding/idlharness.any.js
Stephen McGruer d53f9c0d0d Bug 1665108 [wpt PR 25542] - Update interfaces/encoding.idl and test, a=testonly
Automatic update from web-platform-tests
Update interfaces/encoding.idl and test (#25542)

Closes https://github.com/web-platform-tests/wpt/pull/25537
--

wpt-commits: d7f9e16c9a9d578a05b59787ba4de68b710de725
wpt-pr: 25542
2020-09-23 09:02:30 +00: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()']
});
}
);