Skip to content

Commit

Permalink
Merge pull request #3674 from wallw-bits:add-eventtarget-to-texttrack…
Browse files Browse the repository at this point in the history
…list

PiperOrigin-RevId: 330583550
  • Loading branch information
Copybara-Service committed Sep 8, 2020
2 parents c27df59 + 436ea16 commit f530de7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions externs/browser/html5.js
Expand Up @@ -2294,6 +2294,7 @@ Text.prototype.getDestinationInsertionPoints = function() {};
/**
* @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttracklist
* @constructor
* @implements {EventTarget}
* @implements {IArrayLike<!TextTrack>}
*/
function TextTrackList() {}
Expand All @@ -2307,6 +2308,16 @@ TextTrackList.prototype.length;
*/
TextTrackList.prototype.getTrackById = function(id) {};

/** @override */
TextTrackList.prototype.addEventListener = function(
type, listener, opt_useCapture) {};

/** @override */
TextTrackList.prototype.dispatchEvent = function(evt) {};

/** @override */
TextTrackList.prototype.removeEventListener = function(
type, listener, opt_options) {};

/**
* @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#texttrack
Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources/resources.json

Large diffs are not rendered by default.

0 comments on commit f530de7

Please sign in to comment.