idlharness.any.js (321B)
1 // META: global=window,worker,shadowrealm-in-window 2 // META: script=/resources/WebIDLParser.js 3 // META: script=/resources/idlharness.js 4 5 idl_test( 6 ['encoding'], 7 ['streams'], 8 idl_array => { 9 idl_array.add_objects({ 10 TextEncoder: ['new TextEncoder()'], 11 TextDecoder: ['new TextDecoder()'] 12 }); 13 } 14 );