Index: LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html |
index 73ccb4821482cde9624611846783df149a02aa71..5487a4c1720eed01d86b9a1ee34de70d0de4d509 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-allowed.html |
@@ -2,8 +2,13 @@ |
<html> |
<head> |
<script> |
-if (window.testRunner) |
+if (window.testRunner) { |
testRunner.dumpAsText(); |
+ testRunner.waitUntilDone(); |
+ window.onload = function() { |
+ testRunner.notifyDone(); |
+ }; |
+} |
</script> |
</head> |
<body> |