Serenity Operating System
at master 13 lines 447 B view raw
1[Exposed=(Window,Worker)] 2interface TextDecoder { 3 // FIXME: 'optional TextDecoderOptions options = {}' 4 constructor(optional DOMString label = "utf-8"); 5 6 // FIXME: [AllowShared] on the first parameter. 7 // FIXME: 'optional TextDecodeOptions options = {}' 8 USVString decode(optional BufferSource input); 9 10 readonly attribute DOMString encoding; 11 readonly attribute boolean fatal; 12 readonly attribute boolean ignoreBOM; 13};