--- a/tests/cors/submitted/webkit/resources/access-control-basic-whitelist-response-headers.php Thu May 03 14:02:29 2012 -0700
+++ b/tests/cors/submitted/webkit/resources/access-control-basic-whitelist-response-headers.php Thu May 03 14:06:28 2012 -0700
@@ -2,16 +2,16 @@
#in whitelist
header("content-type: text/plain");
-header("cache-control: no cache\n");
-header("content-language: en\n");
-header("expires: Fri, 30 Oct 1998 14:19:41 GMT\n");
-header("last-modified: Tue, 15 Nov 1994 12:45:26 GMT\n");
-header("pragma: no-cache\n");
+header("cache-control: no cache");
+header("content-language: en");
+header("expires: Fri, 30 Oct 1998 14:19:41 GMT");
+header("last-modified: Tue, 15 Nov 1994 12:45:26 GMT");
+header("pragma: no-cache");
#not in whitelist
-header("x-webkit: foobar\n");
+header("x-webkit: foobar");
-header("Access-Control-Allow-Origin: *\n\n");
+header("Access-Control-Allow-Origin: *");
echo "PASS: Cross-domain access allowed.";
?>
--- a/tests/cors/submitted/webkit/resources/access-control-sandboxed-iframe-allow.php Thu May 03 14:02:29 2012 -0700
+++ b/tests/cors/submitted/webkit/resources/access-control-sandboxed-iframe-allow.php Thu May 03 14:06:28 2012 -0700
@@ -2,7 +2,7 @@
header("Content-Type: text/plain");
header("Access-Control-Allow-Credentials: true");
-header("Access-Control-Allow-Origin: *\n\n");
+header("Access-Control-Allow-Origin: *");
echo "PASS: Sandboxed iframe XHR access allowed.";
?>
--- a/tests/cors/submitted/webkit/resources/access-control-sandboxed-iframe-denied.php Thu May 03 14:02:29 2012 -0700
+++ b/tests/cors/submitted/webkit/resources/access-control-sandboxed-iframe-denied.php Thu May 03 14:06:28 2012 -0700
@@ -1,6 +1,6 @@
<?php
-header("Content-Type: text/plain\n\n");
+header("Content-Type: text/plain");
echo "FAIL: Sandboxed iframe XHR access allowed.";