Re: TextTrackCue discussions

On 20 Sep 2013 21:31, "Simon Pieters" <simonp@opera.com> wrote:
>
> On Fri, 20 Sep 2013 13:13:55 +0200, Silvia Pfeiffer <
silviapfeiffer1@gmail.com> wrote:
>
>>> What would the text property contain when the browser doesn't know the
>>> encoding?
>>
>>
>> Return an empty string. That can also be used by the JS dev to know
>> that they need to look at the .data ArrayBuffer.
>
>
> That seems a bit bogus since the data could be the empty string.

If the data is empty, DOMString returns "null" IIUC.

Silvia.

Received on Friday, 20 September 2013 12:49:21 UTC