4 if (window
.testRunner
) {
5 testRunner
.dumpResourceRequestPriorities();
6 testRunner
.dumpAsText();
9 <script src=
"/js-test-resources/js-test.js"></script>
10 <script src=
"resources/defer.js" defer
></script>
11 <script src=
"resources/async.js" async
></script>
12 <script src=
"resources/head.js"></script>
16 document
.write('<script src="resources/document-write.js"><\/script>');
19 var script
= document
.createElement('script');
20 script
.src
= "resources/injected.js";
21 document
.getElementsByTagName('head')[0].appendChild(script
);
24 var asyncScript
= document
.createElement('script');
25 asyncScript
.async
= true;
26 asyncScript
.src
= "resources/injected-async.js";
27 document
.getElementsByTagName('head')[0].appendChild(asyncScript
);
29 <script src=
"resources/body.js"></script>