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

Broken on Latest Chrome Version - Using Deprecated Functions #103

Open
darksidelemm opened this issue Aug 29, 2020 · 2 comments
Open

Broken on Latest Chrome Version - Using Deprecated Functions #103

darksidelemm opened this issue Aug 29, 2020 · 2 comments

Comments

@darksidelemm
Copy link
Contributor

It appears that the tracker is using some functions which have recently become deprecated in the latest version of Chrome ( 85.0.4183.83 ).
This results in many features of the tracker being broken, such as:

  • Payload list on the left not loading.
  • Buttons at the top right don't work.

The tracker is effectively un-usable at the moment because of this.

Example of the errors produced here: https://imgur.com/a/2psW6Gi

@darksidelemm
Copy link
Contributor Author

It looks like the issue may be related to ApplicationCache being deprecated and removed in Chrome v85. It looks like Firefox will drop support too.

https://www.chromestatus.com/features/6192449487634432

@darksidelemm
Copy link
Contributor Author

OK the issue is definitely due to the ApplicationCache deprecation.

window.applicationCache is now undefined, which was resulting in a lot of app.js breaking (in particular at the cache.addEventListener calls, with many variables and functions ending up undefined.

Commenting out those addEventListener lines results in the rest of the page loading, though I'm unsure what impact the lack of the applicationCache has on the site.

I've got a branch which has these commented out lines here: https://github.com/darksidelemm/habitat-mobile-tracker/tree/fix_chrome_85
(Note that this was based on my hide_horizon branch, so includes the horizon ring hiding fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant