Intent to Remove: HTMLSourceElement.media

65 views
Skip to first unread message

Philip Jägenstedt

unread,
Apr 15, 2014, 7:16:53 PM4/15/14
to 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/L5h6KP5nmbE/CGlSWugrFl0J


Summary

Remove the HTMLSourceElement.media IDL attribute


Motivation

The media content attribute has already been removed from the resource selection algorithm in http://crbug.com/338197 and the IDL attribute is now useless. (Lesson learned: add all the counters you need at the same time and remove the whole feature at once.)

Usage information from UseCounter

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


This is in M34 which just reached stable. The stats have stayed way below the threshold for removal.


Entry on chromestatus.com

None


Compatibility Risk

The main risk was with the resource selection algorithm change. Removing the IDL attribute doesn't carry any specific risk, just the always-present risk that scripts may depend on its presence or type.

Jochen Eisinger

unread,
Apr 16, 2014, 5:23:00 AM4/16/14
to Philip Jägenstedt, blink-dev
LGTM1

Adam Barth

unread,
Apr 17, 2014, 7:22:11 PM4/17/14
to Jochen Eisinger, Philip Jägenstedt, blink-dev
LGTM2

Ojan Vafai

unread,
Apr 17, 2014, 7:42:00 PM4/17/14
to Adam Barth, Jochen Eisinger, Philip Jägenstedt, blink-dev
LGTM3
Reply all
Reply to author
Forward
0 new messages