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

refactor: Remove workarounds for platforms without native promise support #7715

Merged
merged 1 commit into from
May 16, 2022

Conversation

alex-barstow
Copy link
Contributor

Description

Remove Promise option and any workarounds for platforms without native promise support.

Note: Merge with BREAKING CHANGE header

@codecov
Copy link

codecov bot commented Apr 7, 2022

Codecov Report

Merging #7715 (cc1c658) into next (f20aa9a) will increase coverage by 0.04%.
The diff coverage is 65.78%.

@@            Coverage Diff             @@
##             next    #7715      +/-   ##
==========================================
+ Coverage   80.88%   80.93%   +0.04%     
==========================================
  Files         116      116              
  Lines        7454     7442      -12     
  Branches     1806     1797       -9     
==========================================
- Hits         6029     6023       -6     
+ Misses       1425     1419       -6     
Impacted Files Coverage Δ
src/js/tech/tech.js 83.42% <0.00%> (+0.47%) ⬆️
src/js/player.js 88.49% <67.56%> (+0.11%) ⬆️
src/js/tracks/text-track.js 92.94% <0.00%> (+0.64%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f20aa9a...cc1c658. Read the comment docs.

@gkatsev
Copy link
Member

gkatsev commented Apr 7, 2022

Probably a refactor: rather than a chore:

}
function changeHandler() {
offHandler();
resolve();
Copy link
Member

Choose a reason for hiding this comment

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

Are these newly not covered by tests or were they always not covered by tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They were always not covered. This PR technically increased project coverage by .05%.

@alex-barstow alex-barstow changed the title chore: Remove workarounds for platforms without native promise support refactor: Remove workarounds for platforms without native promise support Apr 11, 2022
@misteroneill misteroneill merged commit cba0bbe into videojs:next May 16, 2022
misteroneill pushed a commit that referenced this pull request May 19, 2022
…7715)

BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
misteroneill pushed a commit that referenced this pull request May 23, 2022
…7715)

BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
misteroneill pushed a commit that referenced this pull request Nov 23, 2022
…7715)

BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
misteroneill pushed a commit that referenced this pull request Nov 23, 2022
…7715)

BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
edirub pushed a commit to edirub/video.js that referenced this pull request Jun 8, 2023
…ideojs#7715)

BREAKING CHANGE: Removes support for Promise class option and assumes native Promise is available. Will break in older browsers or devices.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants