3 <script src=
"/js-test-resources/js-test.js"></script>
5 window
.jsTestIsAsync
= true;
8 testRunner
.dumpResourceRequestPriorities();
10 // Load test target html inside an iframe to ensure that
11 // resource request dumps always include preloader requests.
12 var iframe
= document
.createElement("iframe");
13 iframe
.src
= "resources/promote-img-in-viewport-priority-iframe.html";
14 document
.body
.appendChild(iframe
);
15 window
.onload = function() {
16 setTimeout(function() {
17 document
.body
.removeChild(iframe
);