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

Demo doesn't work with "Enable HTML Imports" about:flags #2

Open
beldar opened this issue Mar 17, 2014 · 9 comments
Open

Demo doesn't work with "Enable HTML Imports" about:flags #2

beldar opened this issue Mar 17, 2014 · 9 comments

Comments

@beldar
Copy link

beldar commented Mar 17, 2014

Getting a JS error and nothing shows up:

Uncaught TypeError: Cannot set property 'href' of null platform.js:31

@bradoyler
Copy link
Owner

Which browser?
Still happening?

@beldar
Copy link
Author

beldar commented Mar 17, 2014

It happens on Chrome, and I have enabled the real Shadow DOM functionality and HTML imports, so no polyfils.

@bradoyler
Copy link
Owner

Ok, and you are seeing this error @ http://bradoyler.github.io/weather-el/ ?

If you could clear your local storage and lmk if that helps, I'd appreciate it.

This could be a related issue: Polymer/polymer#290

@beldar
Copy link
Author

beldar commented Mar 17, 2014

Yes

@bradoyler
Copy link
Owner

Also, you said "Chrome", but are you referring to Chrome "Canary"?

@beldar
Copy link
Author

beldar commented Mar 17, 2014

No, regular Chrome, version 33.0.1750.152

But with a couple flags (about:flags) enabled: 'Enable HTML Imports' and 'Enable experimental Web Platform features', which basically enables native Shadow DOM and HTML5 imports

@bradoyler
Copy link
Owner

Ok, does the issue exist without the flags?

@beldar
Copy link
Author

beldar commented Mar 17, 2014

No, it works fine without the flags, but the whole point of the polyfills is that they can be removed when the native functionality is working right?

@bradoyler bradoyler changed the title Demo doesn't work (for me) Demo doesn't work with #enable-imports flag Mar 17, 2014
@bradoyler bradoyler changed the title Demo doesn't work with #enable-imports flag Demo doesn't work with "Enable HTML Imports" about:flags Mar 17, 2014
@bradoyler
Copy link
Owner

Right, but this looks like an issue with Polymer.js. Like I posted above, issue Polymer/polymer#290 seems to be a good lead.

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