Urbain, I think part of the problem here is that you're loading HTMLImports and polymer-expressions twice, both are built into platform.js.
Hoa, I'm not sure what your patch is for, since shadow_dom.debug.js is not a file referenced anywhere. It seems like your patch would actually be applied against several files, some in TemplateBinding and some in Platform.js On Fri, Jan 17, 2014 at 2:04 PM, Hoa V. Dinh <[email protected]> wrote: > Hi Urbain, > > I also encountered a similar issue: > I had to patch the shadow dom polyfill. > > Here’s the patch I applied on shadow_dom.debug.js. > I can be helpful for you to find some way around this issue. > > -- > Hoa V. Dinh > > On Friday, January 17, 2014 at 2:02 PM, [email protected] wrote: > > I have downloaded > *https://github.com/scopyleft/web-components/blob/master/map.html > <https://github.com/scopyleft/web-components/blob/master/map.html>* and > placed it there *http://hoteliris.fr/map3/web-components/map.html > <http://hoteliris.fr/map3/web-components/map.html>* just for fun, > exploration purpose.However, for some, it fails by Chromium running on my > Windows 7 platform : > > TypeError > "TypeError: Array.prototype.forEach called on null or undefined > at forEach (native) > at Object.i.scopeRules ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510) > at Object.<anonymous> ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11736) > at CSSRuleList.forEach (native) > at Object.i.scopeRules ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510) > at Object.i.convertScopedStyles ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10967) > at Object.i.shimScoping ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10700) > at Object.i.stylesToShimmedCssText ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:8281) > at Object.i.shimStyling ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:7928) > at f.desugar ( > http://hoteliris.fr/map3/web-components/polymer/polymer.js:29:18243)" > at forEach (native) > at Object.i.scopeRules ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510) > at Object.<anonymous> ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11736) > at CSSRuleList.forEach (native) > at Object.i.scopeRules ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:11510) > at Object.i.convertScopedStyles ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10967) > at Object.i.shimScoping ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:10700) > at Object.i.stylesToShimmedCssText ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:8281) > at Object.i.shimStyling ( > http://hoteliris.fr/map3/web-components/polymer/Platform.js:31:7928) > at f.desugar ( > http://hoteliris.fr/map3/web-components/polymer/polymer.js:29:18243)" > > NOTE : I use Chromium 33.0.1724.0 (Developer Build 237962). I haven't > enabled anything special by chrome://flags > Thanks in advance for your help. > > /* Urbain */ > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/c1489208-126f-49a0-8d14-2c6ffbc492b4%40googlegroups.com > . > For more options, visit https://groups.google.com/groups/opt_out. > > > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/polymer-dev/6D165A9796AA46EC910CD1F9D94B2D93%40google.com > . > > For more options, visit https://groups.google.com/groups/opt_out. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAAUAVAhKn5anKF2YkOZs7NG0g8e3hsXu%3DRZwzR_D%2BpPMXdJdqw%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.
