Bug 1393669 - remove useless attributes of SourceBuffer.webidl. draft
authorAlastor Wu <alwu@mozilla.com>
Fri, 25 Aug 2017 11:21:32 +0800
changeset 652691 cc3ce1fd490212c6b1aa56ac3bd6ecbe8744eb20
parent 651976 39f538b90ffa0c8c9d677a95bdc6b22ab9bdf1ca
child 728147 1deb5d9f58df22844b9e5417bafe6f431d68d721
push id76119
push useralwu@mozilla.com
push dateFri, 25 Aug 2017 03:21:54 +0000
bugs1393669
milestone57.0a1
Bug 1393669 - remove useless attributes of SourceBuffer.webidl. According to [1], those comment could be removed, they're not the part of the source buffer. [1] https://www.w3.org/TR/media-source/#sourcebuffer MozReview-Commit-ID: KDsHV3qbViR
dom/webidl/SourceBuffer.webidl
--- a/dom/webidl/SourceBuffer.webidl
+++ b/dom/webidl/SourceBuffer.webidl
@@ -19,31 +19,26 @@ enum SourceBufferAppendMode {
 interface SourceBuffer : EventTarget {
   [SetterThrows]
   attribute SourceBufferAppendMode mode;
   readonly attribute boolean updating;
   [Throws]
   readonly attribute TimeRanges buffered;
   [SetterThrows]
   attribute double timestampOffset;
-  //readonly attribute AudioTrackList audioTracks;
-  //readonly attribute VideoTrackList videoTracks;
-  //readonly attribute TextTrackList textTracks;
   [SetterThrows]
   attribute double appendWindowStart;
   [SetterThrows]
   attribute unrestricted double appendWindowEnd;
   attribute EventHandler onupdatestart;
   attribute EventHandler onupdate;
   attribute EventHandler onupdateend;
   attribute EventHandler onerror;
   attribute EventHandler onabort;
   [Throws]
   void appendBuffer(ArrayBuffer data);
   [Throws]
   void appendBuffer(ArrayBufferView data);
-  //[Throws]
-  //void appendStream(Stream stream, [EnforceRange] optional unsigned long long maxSize);
   [Throws]
   void abort();
   [Throws]
   void remove(double start, unrestricted double end);
 };