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

Remove the migration code for old localStorage data in ViewHistory #8794

Merged
merged 1 commit into from
Aug 19, 2017
Merged

Remove the migration code for old localStorage data in ViewHistory #8794

merged 1 commit into from
Aug 19, 2017

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Aug 19, 2017

This was added in PR #7793, which has now been present in a number of PDF.js releases (from version v1.7.225, see https://github.com/mozilla/pdf.js/releases/tag/v1.7.225).
Hence we should be able to remove it now, considering that the migration code was only intended as a best effort solution to avoid wiping out all existing user data at once. Also, keep in mind that ViewHistory is already limited with regards to the number of documents it will simultaneous store data for.

This was added in PR 7793, which has now been present in a number of PDF.js releases (from version `v1.7.225`).
Hence we should be able to remove it now, considering that the migration code was only intended as a best effort solution to avoid wiping out all existing user data at once. Also, keep in mind that `ViewHistory` is already limited with regards to the number of documents it will simultaneous store data for.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://54.67.70.0:8877/a2c013fab5bbfaf/output.txt

@pdfjsbot
Copy link

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/a2c013fab5bbfaf/output.txt

Total script time: 2.34 mins

Published

@timvandermeij timvandermeij merged commit 7969802 into mozilla:master Aug 19, 2017
@timvandermeij
Copy link
Contributor

Thank you!

@Snuffleupagus Snuffleupagus deleted the ViewHistory-rm-migration-code branch August 20, 2017 13:53
movsb pushed a commit to movsb/pdf.js that referenced this pull request Jul 14, 2018
…ration-code

Remove the migration code for old localStorage data in `ViewHistory`
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