Google Groups

Intent to Remove: TextTrackCue constructor


Philip Jägenstedt Feb 24, 2014 2:16 AM
Posted in group: blink-dev

Primary eng (and PM) emails

phi...@opera.com


Link to “Intent to Deprecate” thread

https://groups.google.com/a/chromium.org/d/msg/blink-dev/YJ4SY6WHxso/SJ_f8ZCsExwJ

Summary

Remove the TextTrackCue constructor, which has been removed from the spec:

http://whatwg.org/html#texttrackcue


Motivation

It has been deprecated for a release cycle to give developers a heads up. Usage remains low.


Usage information from UseCounter

0.001830792071 according to Ojan's dump from stable:

https://groups.google.com/a/chromium.org/d/msg/blink-dev/ze27T2M682w/SM3hGfQpKnoJ


Compatibility Risk

Scripts creating TextTrackCues using new TextTrackCue(...) will break. Mostly demos are likely to be affected. It is trivially fixed by using the VTTCue constructor instead.


Row on feature dashboard?

http://www.chromestatus.com/metrics/feature/timeline/popularity/187