mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed
This commit is contained in:
parent
4997ec26c2
commit
a5af9a106a
192 changed files with 3943 additions and 1927 deletions
|
@ -2,13 +2,14 @@
|
|||
// META: script=/resources/WebIDLParser.js
|
||||
// META: script=/resources/idlharness.js
|
||||
|
||||
promise_test(async() => {
|
||||
const text = await (await fetch('/interfaces/encoding.idl')).text();
|
||||
const idl_array = new IdlArray();
|
||||
idl_array.add_idls(text);
|
||||
idl_array.add_objects({
|
||||
TextEncoder: ['new TextEncoder()'],
|
||||
TextDecoder: ['new TextDecoder()']
|
||||
});
|
||||
idl_array.test();
|
||||
}, 'Encoding Standard IDL');
|
||||
idl_test(
|
||||
['encoding'],
|
||||
[], // No deps
|
||||
idl_array => {
|
||||
idl_array.add_objects({
|
||||
TextEncoder: ['new TextEncoder()'],
|
||||
TextDecoder: ['new TextDecoder()']
|
||||
});
|
||||
},
|
||||
'Encoding Standard IDL'
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue