OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <script src="resources/compatibility.js"></script> | 3 <script src="../resources/compatibility.js"></script> |
4 <body> | 4 <body> |
5 <script> | 5 <script> |
6 description('Tests that a script processor node is not prematurely GCed'); | 6 description('Tests that a script processor node is not prematurely GCed'); |
7 var jsTestIsAsync = true; | 7 var jsTestIsAsync = true; |
8 | 8 |
9 if (!window.internals) { | 9 if (!window.internals) { |
10 testFailed('This test requires window.internals.'); | 10 testFailed('This test requires window.internals.'); |
11 finishJSTest(); | 11 finishJSTest(); |
12 } | 12 } |
13 | 13 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 } | 79 } |
80 | 80 |
81 function step2() { | 81 function step2() { |
82 test(false, finishJSTest); | 82 test(false, finishJSTest); |
83 } | 83 } |
84 | 84 |
85 step1(); | 85 step1(); |
86 | 86 |
87 var successfullyParsed = true; | 87 var successfullyParsed = true; |
88 </script> | 88 </script> |
OLD | NEW |