http://jeffrey.yasskin.info/dump/instanceof_test.html (code at https://gist.github.com/jyasskin/8575145) shows "Tag Name: CXX-FUNCTION; Instance of CxxFunctionElement: false" despite the element being registered with <polymer-element name="cxx-function" constructor="CxxFunctionElement" noscript>.
Oddly, copying the same code into a jsbin does not reproduce the problem. It has to run directly on a server. This is in Mac Chrome 34.0.1797.2 with none of the experimental flags turned on. On Canary with --enable-experimental-web-platform-features, the problem also doesn't happen, which makes me suspect the shadow dom polyfill wrapper objects.
http://jeffrey.yasskin.info/dump/instanceof_test.html (code at https://gist.github.com/jyasskin/8575145) shows "Tag Name: CXX-FUNCTION; Instance of CxxFunctionElement: false" despite the element being registered with
<polymer-element name="cxx-function" constructor="CxxFunctionElement" noscript>.Oddly, copying the same code into a jsbin does not reproduce the problem. It has to run directly on a server. This is in Mac Chrome 34.0.1797.2 with none of the experimental flags turned on. On Canary with --enable-experimental-web-platform-features, the problem also doesn't happen, which makes me suspect the shadow dom polyfill wrapper objects.