Detect Polymer compatibility

216 views
Skip to first unread message

Martin Kleinschrodt

unread,
Feb 2, 2014, 4:58:51 PM2/2/14
to polym...@googlegroups.com
So there's this Polymer-based app I've been working on and I'm frighteningly close to releasing it to the public. Now I'd like to tell anyone who is using a browser that is not supported by Polymer to go to hell. Or to go get a decent browser - I haven't decided yet. Anyway, is there a reliable way to detect if a browser is supported by Polymer? I'm guessing this could be done relatively easily with feature detection if one knew the exact set of features that is required for Polymer to function properly. Are you perhaps maintaining a list of these features? Or is there even something like a js snippet somewhere? That would be tremendously useful.

Thanks!
Martin

Zeno Rocha

unread,
Feb 3, 2014, 7:42:30 AM2/3/14
to Martin Kleinschrodt, polym...@googlegroups.com
According to Polymer's browser support matrix these are the set of features:
  • MutationObserver
  • HTML Imports
  • Custom Elements
  • Shadow DOM
  • MDV
  • Pointer Events
  • Pointer Gestures
  • Web Animations


Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/9f8c1faf-40a5-4555-9587-4ef86b237527%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Martin Kleinschrodt

unread,
Feb 3, 2014, 8:03:34 AM2/3/14
to polym...@googlegroups.com, Martin Kleinschrodt, h...@zenorocha.com
Thanks, I didn't see that. Ironically the table is not showing in Chrome 32 on my Mac. Maybe I wasn't being clear enough, though. What I mean is: What features does the browser have to support for the polyfills to work? After all, almost none of the features listed on the compatibility page are natively implemented by any of the browsers yet. The page clearly states which browsers are supported by the polyfills but detecting the exact type and version of a browser is messy and I'd much rather rely on feature detection. 

Erik Arvidsson

unread,
Feb 3, 2014, 10:36:07 AM2/3/14
to Martin Kleinschrodt, polym...@googlegroups.com, h...@zenorocha.com

Also, this page is usually useful too to see what browsers and platform we run our unit tests on.


but it is broken at the moment.



For more options, visit https://groups.google.com/groups/opt_out.



--
erik


Reply all
Reply to author
Forward
0 new messages