forked from mirrors/gecko-dev
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
14 lines
299 B
JavaScript
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()']
|
|
});
|
|
}
|
|
);
|