You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The import used in the demo contains a <template> with a <script> in it.
Expected: In Chrome, when you click that page it updates the <template ref>
with "content2" and alerts 10. Actual: In FF (polyfill), the template content is updated but the alert never happens (e.g. the script doesn't execute).
This may have something to do with template being in another document and the polyfill using .innerHTML.
The text was updated successfully, but these errors were encountered:
ebidel
changed the title
Script within template in an import document does not execute under polyfill
Template script doesn't execute when coming from an import document (polyfill)
Feb 17, 2015
ebidel
changed the title
Template script doesn't execute when coming from an import document (polyfill)
Template's script doesn't execute when imported from another document (polyfill)
Feb 17, 2015
Test: http://jsbin.com/qegitukowe/1/edit?html,output
The import used in the demo contains a
<template>
with a<script>
in it.Expected: In Chrome, when you click that page it updates the
<template ref>
with "content2" and alerts 10.
Actual: In FF (polyfill), the template content is updated but the alert never happens (e.g. the script doesn't execute).
This may have something to do with template being in another document and the polyfill using
.innerHTML
.The text was updated successfully, but these errors were encountered: