| testRunner.dumpResourceResponseMIMETypes(); |
| // Prevent networking layer from reordering loads. |
| testRunner.setSerializeHTTPLoads(); |
| testRunner.waitUntilDone(); |
| setTimeout(function(){ testRunner.notifyDone() }, 1000); |
| plaintext { display: none } |
| This test requires DumpRenderTree to see the log of what resources are loaded. |
| The first script document.writes a plaintext tag so the main parser will not load |
| the subsequent resources. Preload scanner won't know this so it will still kick off the loads, |
| allowing us to verify that preloading is working as expected. |
| document.write('<script src="resources/document-write-plaintext.js"></sc'+'ript>'); |
| document.write('<script src="resources/script1.js"></sc'+'ript>'); |