PolymerElements / app-localize-behavior

Polymer behaviour to help internationalize your application
48 stars 55 forks source link

app-localize-behavior appears to be broken on Safari 9.1 with Polymer 1.8 #74

Closed rasto68 closed 7 years ago

rasto68 commented 7 years ago

Description

I have a project that has been working quite happily on Safari 9.1 using Polymer 1.7. Yesterday I upgraded Polymer to 1.8 which also pulled in a new version of the webcomponent.js polyfills and my app stopped working on Safari 9.1 with the following error:

'undefined is not an object (evaluating 'proto.__localizationCache.ajax')

This error doesn't occur when using Safari 10.0.3.

I reverted the polymer/webcomponents.js upgrade and the problem went away.

Expected outcome

app-localize-behavior should work with the latest version of Polymer and webcomponents.js on Safari 9.1 unless you are planning to drop support for 9.1

Actual outcome

See description above

Live Demo

Not possible as our app lives behind a corporate firewall

Steps to reproduce

Create an application that makes use of app-localize-behavior and attempt to view that app on Safari 9.1

Browsers Affected

rasto68 commented 7 years ago

I forgot to mention that my application is being 'vulcanized' just in case that has any bearing on the issue.

rasto68 commented 7 years ago

Looks like https://github.com/PolymerElements/app-localize-behavior/pull/65 may fix this :)

notwaldorf commented 7 years ago

Closing, as this should be fixed by #65