-
Notifications
You must be signed in to change notification settings - Fork 175
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
EventHandlerUI fails in Safari #1628
Comments
The problem has something to do with the for some reason this leads Safari to try getting the polymer html imports from: Moving the import to a HtmImport in the template file fixes this problem Having or not having the |
It would still be preferable to have those kinds of imports from inside template files instead of as Might work with a relative path for the import URL instead of an absolute one, e.g. |
The problem would seem to be somewhere in how the tests pacakge is setup and built as the polymer demos work fine. |
I've failed to understand the root cause of the problem. I've went even further and copy-pasted the code to HelloWorld and it runs normally. |
Seems to be caused by a bug in the polyfill, reported as https://github.com/webcomponents/html-imports/issues/62. We can work around this by not using an absolute URL for loading |
Bugfix included in 1.0.2 of webcomponetnsjs. |
Looking latest comments by @Legioth should this issue be closed? |
Should be verified that it's actually fixed. |
The correct link now is : http://localhost:8888/view/com.vaadin.flow.uitest.ui.template.EventHandlerView Works for me and Safari Version 11.0 (12604.1.38.1.7) |
Launch
test-root-context
jetty in flow, openhttp://localhost:8888/run/com.vaadin.flow.uitest.ui.template.EventHandlerUI
Expected: a view with elements
Actual: empty page, errors in browser and server consoles.
May be related to #1215
The text was updated successfully, but these errors were encountered: