Index: LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html b/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html |
index d2837f3ade9ecc1fe6dfd93b018bcfa39fde23ac..088f26213b9009c4d2dec6e5437427ae41066124 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html |
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-report-uri-missing.html |
@@ -1,11 +1,8 @@ |
<!DOCTYPE html> |
<html> |
<head> |
+ <script src="resources/report-test.js"></script> |
<meta http-equiv="Content-Security-Policy-Report-Only" content="script-src 'unsafe-inline';"> |
- <script> |
- if (window.testRunner) |
- testRunner.dumpAsText(); |
- </script> |
</head> |
<body> |
<p>This test passes if a console message is present, warning about the missing 'report-uri' directive.</p> |