Index: LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html |
index 11cb8023591d7f376ac744efddb5d4928686894d..726f4203f4a63e4b446576f1b2def5f44b8d45ff 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-allow-scripts-in-http-header.html |
@@ -8,9 +8,9 @@ window.onload = function() { |
var frame = document.getElementsByTagName("iframe")[0]; |
try { |
var secret = frame.contentWindow.secret; |
- alert("FAIL: Iframe was not in a unique origin: " + secret); |
+ console.log("FAIL: Iframe was not in a unique origin: " + secret); |
} catch (e) { |
- alert("PASS: Iframe was in a unique origin"); |
+ console.log("PASS: Iframe was in a unique origin"); |
} |
}; |
</script> |