Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify all Track and TrackList APIs #3783

Merged
merged 3 commits into from
Jan 19, 2017
Merged

Unify all Track and TrackList APIs #3783

merged 3 commits into from
Jan 19, 2017

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Nov 15, 2016

Description

This PR was already reviewed and approved here. This one will allow us to use browserstack to make sure that IE8-11 is not broken.

Requirements Checklist

  • Feature implemented / Bug fixed
  • If necessary, more likely in a feature request than a bug fix
    • Change has been verified in an actual browser (Chome, Firefox, IE)
    • Unit Tests updated or fixed
  • Reviewed by Two Core Contributors

@brandonocasey
Copy link
Contributor Author

🎉 Yay, success!

@misteroneill
Copy link
Member

💯

@brandonocasey brandonocasey force-pushed the refactor/text-track-api branch from aca2fc9 to 2156c9e Compare December 9, 2016 22:13
Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have a bunch of places that check that textTracks() returns not null, I don't think we ever do that anymore. Is it safe to remove all these checks?

techOptions[props.getterName] = this[props.privateName];
});

techOptions = assign(techOptions, this.options_[techName.toLowerCase()]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assign mutates, so, we should be able to keep techOptions as const.

@brandonocasey
Copy link
Contributor Author

@gkatsev made updates and removed all checks for if (tracks). Had to update the defaultTech in the text-track tests to get everything to work.

@brandonocasey brandonocasey force-pushed the refactor/text-track-api branch from c9d27f2 to 1ee9b5e Compare January 18, 2017 16:19
@brandonocasey brandonocasey force-pushed the refactor/text-track-api branch from 1ee9b5e to bfc991e Compare January 19, 2017 16:26
@gkatsev gkatsev merged commit 49bed07 into master Jan 19, 2017
@gkatsev gkatsev deleted the refactor/text-track-api branch January 19, 2017 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants