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

feature: Offline PSSH support for manifest that are missing inline init data #2164

Merged
merged 16 commits into from
Oct 17, 2019

Conversation

avelad
Copy link
Member

@avelad avelad commented Sep 27, 2019

This is a PR for the same thing as #2042 for solving issue #1531 . I took the comments from #2042 and created a solution based on that with the issues resolved.

I test different type of contents and all works. However I know that the bot doesn't test on machine with persistent support, please review it manually also.

@avelad
Copy link
Member Author

avelad commented Sep 27, 2019

Note: I tested all in Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36

@joeyparrish joeyparrish self-assigned this Sep 30, 2019
@joeyparrish joeyparrish added the type: enhancement New feature or request label Sep 30, 2019
Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

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

Thank you so much for working on this!

@avelad
Copy link
Member Author

avelad commented Oct 1, 2019

@joeyparrish I reviewed all comments

Copy link
Member

@joeyparrish joeyparrish left a comment

Choose a reason for hiding this comment

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

Looks good otherwise. Thanks!

@avelad
Copy link
Member Author

avelad commented Oct 8, 2019

I have updated the PR with the necessary changes.

@avelad
Copy link
Member Author

avelad commented Oct 9, 2019

I have updated the PR with the necessary changes

@avelad
Copy link
Member Author

avelad commented Oct 16, 2019

@joeyparrish , can you review it again with the latest changes?

@joeyparrish
Copy link
Member

@avelad, sorry for the delay. I'm re-reviewing now.

@shaka-bot
Copy link
Collaborator

Test Failure:

Chrome 77.0.3865 (Linux 0.0.0)
  Offline stores, plays, and deletes protected content with a temporary license FAILED
    TypeError: Cannot read property 'length' of null
        at <Jasmine>
        at lib/offline/storage.js:520:29 <- lib/offline/storage.js:9465:48
        at <Jasmine>
        at lib/offline/storage.js:519:33 <- lib/offline/storage.js:9462:45
        at <Jasmine>
        at lib/offline/storage.js:518:30 <- lib/offline/storage.js:9458:42
        at <Jasmine>
        at _class._callee4$ (lib/offline/storage.js:517:47 <- lib/offline/storage.js:9454:78)
        at tryCatch (node_modules/babel-polyfill/dist/polyfill.js:6900:40)
        at Generator.invoke [as _invoke] (node_modules/babel-polyfill/dist/polyfill.js:7138:22)
        at Generator.prototype.<computed> [as next] (node_modules/babel-polyfill/dist/polyfill.js:6952:21)

Failed 1 tests, passed 1698, skipped 7

@avelad
Copy link
Member Author

avelad commented Oct 16, 2019

I'm going to check the error, and tomorrow I'll fix it

@joeyparrish
Copy link
Member

Thanks!

@avelad
Copy link
Member Author

avelad commented Oct 17, 2019

@joeyparrish, I already corrected, there was a missing comprobation. It's weird because on my mac it didn't fail

@shaka-bot
Copy link
Collaborator

All tests passed!

@avelad
Copy link
Member Author

avelad commented Oct 17, 2019

Now that all the shaka-bot tests have passed, is it possible/safe to merge it?

@joeyparrish
Copy link
Member

Generally, yes. But in this case, I'm doing an additional test pass in our lab, so that we can check this against all supported platforms. I should have results within the hour.

@joeyparrish
Copy link
Member

All tests passed in our lab. Thanks for your patience!

@joeyparrish joeyparrish merged commit 5eaca0a into shaka-project:master Oct 17, 2019
TheModMaker pushed a commit that referenced this pull request Nov 6, 2019
Closes #1531

Change-Id: I001823978b2e8fe924206b47b6801f265ebae9c7
@avelad avelad deleted the offline-pssh branch December 12, 2019 15:29
@github-actions github-actions bot added the status: archived Archived and locked; will not be updated label Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: archived Archived and locked; will not be updated type: enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants