Working on Chrome 36 (dev)

333 views
Skip to first unread message

Jimmy Moon

unread,
Apr 21, 2014, 12:28:02 PM4/21/14
to polym...@googlegroups.com
I've tested sites was build of polymer on Chrome 36.0.1941.2 dev (with Enable experimental Web Platform features). Unfortunately I got errors below and I couldn't find how to solve it. I think it's related with Native Shadow DOM
 But I'm not sure what is problems or I've missed something. How do I make workaround it?

  1. Uncaught TypeError: Cannot read property 'call' of undefined patches-shadowdom-native.js:22
    1. Element.webkitCreateShadowRootpatches-shadowdom-native.js:22
    2. Object.defineProperties.createShadowRoot.valuepatches-shadowdom-native.js:37
    3. (anonymous function)styleloader.js:78
    4. (anonymous function)

Jimmy Moon

unread,
Apr 21, 2014, 12:29:59 PM4/21/14
to polym...@googlegroups.com
These sites works well on chrome 35 beta.

Eric Bidelman

unread,
Apr 21, 2014, 4:31:41 PM4/21/14
to Jimmy Moon, polymer-dev
webkitCreateShadowRoot showing up is suspect if you're running under the native stuff. That's the deprecated Shadow DOM implementation.

Also, what version of Polymer are you using? Do you have a jsbin that repos the issue?



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/a4e5e1e7-6538-4272-b66d-e79b95e65f5b%40googlegroups.com.

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

Jimmy Moon(문현경)

unread,
Apr 21, 2014, 6:43:38 PM4/21/14
to Eric Bidelman, polymer-dev
I've tested some of sites on customelement.io. I was believed that they should be using newest version. But they are using 0.2.0. :)   
I tested a site after polymer updated[1] and It works well on Chrome 36 with polymer 0.2.3.  Thanks eric.

[1]: https://github.com/addyosmani/x-imager/pull/5

Rob Dodson

unread,
Apr 21, 2014, 8:23:00 PM4/21/14
to Jimmy Moon(문현경), Eric Bidelman, polymer-dev
Unfortunately, many of the elements on customelements.io are out of date. Most were created by folks who wanted to experiment with Polymer but they aren't well maintained.


Zeno Rocha

unread,
Apr 22, 2014, 3:56:44 PM4/22/14
to Rob Dodson, Jimmy Moon(문현경), Eric Bidelman, polymer-dev
I know it's not the best thread to discuss it, but I'm open to ideas to fix this issue with customelements.io.


Bobby Richter

unread,
Apr 22, 2014, 4:43:08 PM4/22/14
to polym...@googlegroups.com
Actually, none of our project https://appmaker-integration.herokuapp.com/en-US/designer works in Canary (36). I'm still digging around, but I've found that requirejs and the Polymer() call within elements play differently together. Wrapping the Polymer() call with a require() call has worked previously, but in Chrome 36, it breaks element inheritance. Something to look out for.

trsubra...@gmail.com

unread,
May 29, 2014, 1:56:56 AM5/29/14
to polym...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages