Index: LayoutTests/http/tests/loading/script-priorities.html |
diff --git a/LayoutTests/http/tests/loading/script-priorities.html b/LayoutTests/http/tests/loading/script-priorities.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..be185336e12b1752d77cf4b2ae1ad776c2b7f964 |
--- /dev/null |
+++ b/LayoutTests/http/tests/loading/script-priorities.html |
@@ -0,0 +1,25 @@ |
+<html> |
+ <head> |
+ <script> |
+ if (window.testRunner) { |
+ testRunner.dumpResourceRequestPriorities(); |
+ testRunner.dumpAsText(); |
+ } |
+ </script> |
+ <script src="/js-test-resources/js-test.js"></script> |
+ <script src="../misc/resources/defer-script.js" defer></script> |
+ <script src="../misc/resources/async-script.js" async></script> |
+ <script src="resources/head.js"></script> |
+ <script> |
+ var script = document.createElement('script'); |
+ script.src = "resources/injected.js"; |
+ document.getElementsByTagName('head')[0].appendChild(script); |
+ </script> |
+ </head> |
+ <body> |
+ <script src="resources/body.js"></script> |
+ <script> |
+ document.write('<script src="resources/document-write.js"><\/script>'); |
+ </script> |
+ </body> |
+</html> |