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