Index: LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html |
index 79e5e515afa956d0823a3b738effc779d7de0e61..4084fe93f90a01575b11d0164e2ac17b8fad2641 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.html |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/javascript-url-blocked.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> |