Index: LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cd80fed4ef1f635e7810e14aa59ea1d74b5bbb5c |
--- /dev/null |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/resources/wait-until-loaded.js |
@@ -0,0 +1,7 @@ |
+if (window.testRunner) { |
+ testRunner.waitUntilDone(); |
+ window.onload = function() { |
+ testRunner.notifyDone(); |
+ }; |
+} |
+ |