When using hyperhtml with webcomponents-sd-ce.js and interpolating a custom attribute, IE11 throws HierarchyRequestError. It works fine in every other browser I tested, including Edge 14 and Safari 9.1.
var html = hyperHTML.bind(document.body);
html`
<div custom="${true}">test</div>
`
It seems to work for non-custom attributes. This works:
var html = hyperHTML.bind(document.body);
html`
<div disabled="${true}">test</div>
<li value="${true}">test</li>
`
I suppose this is likely a bug with the monkey patching performed by the polyfill. What are your thoughts?
if you remove the polyfill, which is completely useless in your example, does IE11 throws any error?
... and btw, about these cases, my thoughts in a nutshell: https://twitter.com/WebReflection/status/956480147502313472
if you remove the polyfill, which is completely useless in your example, does IE11 throws any error?
Yes. No, it doesn't throw an error then. I didn't include any code that depends on the polyfill in the example since it isn't necessary to reproduce the issue.
Narrowed down the actual issue. Sorry about the noise.
awesome finding (for them to fix) ... I don't want to say _told'ya so_ ... but ... told-ya so 馃槀馃槀馃槀
Most helpful comment
Narrowed down the actual issue. Sorry about the noise.