Index: LayoutTests/http/tests/linkHeader/link-header-no-crash-empty.php |
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-invalid-header.html b/LayoutTests/http/tests/linkHeader/link-header-no-crash-empty.php |
similarity index 56% |
copy from LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-invalid-header.html |
copy to LayoutTests/http/tests/linkHeader/link-header-no-crash-empty.php |
index 61e070ef474181826824ee4a11083eb4f2089355..63c83b912036c5a03b8ebedbcdf2d3be1bf77ea9 100644 |
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/sandbox-invalid-header.html |
+++ b/LayoutTests/http/tests/linkHeader/link-header-no-crash-empty.php |
@@ -1,6 +1,9 @@ |
+<?php |
+header("Link:"); |
+?> |
<!DOCTYPE html> |
-<iframe src="resources/sandbox.php?sandbox=allowScript"></iframe> |
<script> |
if (window.testRunner) |
testRunner.dumpAsText(); |
</script> |
+This test passes if we didn't crash. |