Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: LayoutTests/fast/dom/HTMLTemplateElement/inertContents.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../js/resources/js-test-pre.js"></script>
4 <script> 4 <script>
5 var testVal = 'script has not run'; 5 var testVal = 'script has not run';
6 </script> 6 </script>
7 <!-- FIXME: Add non-flaky test for <img> tags --> 7 <!-- FIXME: Add non-flaky test for <img> tags -->
8 <template><script>window.testVal = 'script has run';</script></template> 8 <template><script>window.testVal = 'script has run';</script></template>
9 <script> 9 <script>
10 description('The test asserts that elements within template contents are "inert" , e.g. script does not run.'); 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'); 11 shouldBeEqualToString('testVal', 'script has not run');
12 var templateContent = document.querySelector('template').content; 12 var templateContent = document.querySelector('template').content;
13 document.body.appendChild(templateContent); 13 document.body.appendChild(templateContent);
14 shouldBeEqualToString('testVal', 'script has run'); 14 shouldBeEqualToString('testVal', 'script has run');
15 </script> 15 </script>
16 <script src="../../js/resources/js-test-post.js"></script>
17 </body> 16 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698