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

Safari 9.1 El Capitan - Crash on localize #92

Open
1 of 8 tasks
kevinLB opened this issue May 5, 2017 · 1 comment
Open
1 of 8 tasks

Safari 9.1 El Capitan - Crash on localize #92

kevinLB opened this issue May 5, 2017 · 1 comment

Comments

@kevinLB
Copy link

kevinLB commented May 5, 2017

Description

Actually we have a crash on old Safari browser (9.1) on El Capitan OS.
The localize webcomponents seems buggy on it and crash badly.

Expected outcome

Everything is translated according to chrome / FF behaviors
http://www.francetvinfo.fr/elections/resultats/export/histograms.html#lang=en

Actual outcome

Cause webcomponent crash because of localize on Safari 9.1 (El capitan).
http://www.francetvinfo.fr/elections/resultats/export/histograms.html#lang=en

Steps to reproduce

Try to use "this.localize" for our translations.
See errors on the browser console.

Browsers Affected

  • Chrome
  • Firefox
  • Safari 9
  • Safari 8
  • Safari 7
  • Edge
  • IE 11
  • IE 10
@dlockhart
Copy link

@kevinLB Does the error you're seeing look something like this one:

screen shot 2017-05-15 at 3 03 29 pm

TypeError: undefined is not an object (evaluating 'proto._localizationCache.messages = {}')

If so, this is a duplicate of #74, which was fixed in #65, which made it into version 1.0.1. I've confirmed that upgrading to 1.0.1 or 1.0.2 resolved this issue for me.

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

2 participants