3 <script src=
"../../../resources/js-test.js"></script>
5 var testVal
= 'script has not run';
7 <!-- FIXME: Add non-flaky test for <img> tags -->
8 <template><script>window
.testVal
= 'script has run';</script></template>
10 description('The test asserts that elements within template contents are "inert", e.g. script does not run.');
11 shouldBeEqualToString('testVal', 'script has not run');
12 var templateContent
= document
.querySelector('template').content
;
13 document
.body
.appendChild(templateContent
);
14 shouldBeEqualToString('testVal', 'script has run');