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

Fix 'Uncaught ReferenceError: Promise is not defined' errors on Android devices #376

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rototor
Copy link

@rototor rototor commented Aug 29, 2017

I’ve implemented a global window error handler on my page, which logs
all javascript errors on my server. In this error log I get some
„Promise is not defined“ errors caused by the font watcher when running
on some strange Android browser versions. Here are some examples of the UserAgent strings of browsers which have this error:

Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-J700T Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.4 Chrome/51.0.2704.106 Mobile Safari/537.36

Mozilla/5.0 (Linux; Android 7.0; SM-G950U Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36

Mozilla/5.0 (Linux; Android 7.0; SAMSUNG SM-G930A Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/5.4 Chrome/51.0.2704.106 Mobile Safari/537.36

Mozilla/5.0 (Linux; Android 7.0; XT1585 Build/NCKS25.118-10-6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36

Mozilla/5.0 (Linux; Android 7.0; SM-G930V Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36

…id devices

I’ve implemented a global window error handler on my page, which logs
all javascript errors on my server. In this error log I get some
„Promise is not defined“ errors caused by the font watcher when running
on some strange Android browser versions.
@zowers
Copy link

zowers commented Oct 10, 2017

why does not owner merge the pr?

@rdub80
Copy link

rdub80 commented Feb 11, 2018

@bramstein please merge.

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