Index: Source/core/html/track/TextTrackList.idl |
diff --git a/Source/core/html/track/TextTrackList.idl b/Source/core/html/track/TextTrackList.idl |
index 8fbc775a993e2467d9eb30c53c3231c6a4e3ab8d..4f3168f035331ec90632b9aa159c6ea3faafb609 100644 |
--- a/Source/core/html/track/TextTrackList.idl |
+++ b/Source/core/html/track/TextTrackList.idl |
@@ -23,14 +23,17 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
+// https://html.spec.whatwg.org/#texttracklist |
+ |
[ |
SetWrapperReferenceFrom=owner, |
] interface TextTrackList : EventTarget { |
readonly attribute unsigned long length; |
- getter TextTrack item(unsigned long index); |
+ // TODO(philipj): This getter should be anonymous. |
+ [Measure] getter TextTrack item(unsigned long index); |
TextTrack? getTrackById(DOMString id); |
- attribute EventHandler onaddtrack; |
attribute EventHandler onchange; |
+ attribute EventHandler onaddtrack; |
attribute EventHandler onremovetrack; |
}; |