Title: [199172] trunk/LayoutTests
Revision
199172
Author
[email protected]
Date
2016-04-07 12:52:41 -0700 (Thu, 07 Apr 2016)

Log Message

CSP: Remove tests for unimplemented directive referrer
https://bugs.webkit.org/show_bug.cgi?id=156353

Reviewed by Andy Estes.

The Content Security Policy directive referrer was removed from the Content Security Policy Level 2 spec.,
<https://w3c.github.io/webappsec-csp/2/> (Editor's Draft, 29 August 2015). It was never implemented.
The functionality provided by this directive has been incorporated into its own meta tag and is covered
by the Referrer Policy spec., <https://w3c.github.io/webappsec-referrer-policy/>.

* http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http.html: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https.html: Removed.
* http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php: Removed.
* http/tests/security/contentSecurityPolicy/resources/referrer-test.js: Removed.
* http/tests/security/contentSecurityPolicy/resources/referrer-test.php: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (199171 => 199172)


--- trunk/LayoutTests/ChangeLog	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/ChangeLog	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,3 +1,67 @@
+2016-04-07  Daniel Bates  <[email protected]>
+
+        CSP: Remove tests for unimplemented directive referrer
+        https://bugs.webkit.org/show_bug.cgi?id=156353
+
+        Reviewed by Andy Estes.
+
+        The Content Security Policy directive referrer was removed from the Content Security Policy Level 2 spec.,
+        <https://w3c.github.io/webappsec-csp/2/> (Editor's Draft, 29 August 2015). It was never implemented.
+        The functionality provided by this directive has been incorporated into its own meta tag and is covered
+        by the Referrer Policy spec., <https://w3c.github.io/webappsec-referrer-policy/>.
+
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http.html: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https.html: Removed.
+        * http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php: Removed.
+        * http/tests/security/contentSecurityPolicy/resources/referrer-test.js: Removed.
+        * http/tests/security/contentSecurityPolicy/resources/referrer-test.php: Removed.
+
 2016-04-07  Joseph Pecoraro  <[email protected]>
 
         Unreviewed follow-up fix to r199168. Add missing newline in expected output.

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'unsafe-url' works correctly from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=unsafe-url&to=http"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'unsafe-url' works correctly from HTTP to HTTP.");
-        expectFullReferrer(ReferrerTest.UNSAFE_URL, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'unsafe-url' works correctly from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=unsafe-url&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'unsafe-url' works correctly from HTTP to HTTPS.");
-        expectFullReferrer(ReferrerTest.UNSAFE_URL, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'unsafe-url' works correctly from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/security/contentSecurityPolicy/resources/referrer-test.php?policy=unsafe-url&to=http"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'unsafe-url' works correctly from HTTPS to HTTP.");
-        expectFullReferrer(ReferrerTest.UNSAFE_URL, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'unsafe-url' works correctly from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/security/contentSecurityPolicy/resources/referrer-test.php?policy=unsafe-url&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-always-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'unsafe-url' works correctly from HTTPS to HTTPS.");
-        expectFullReferrer(ReferrerTest.UNSAFE_URL, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'no-referrer-when-downgrade' works correctly from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=no-referrer-when-downgrade&to=http"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'no-referrer-when-downgrade' works correctly from HTTP to HTTP.");
-        expectFullReferrer(ReferrerTest.NO_REFERRER_WHEN_DOWNGRADE, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'default' works correctly from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=no-referrer-when-downgrade&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'default' works correctly from HTTP to HTTPS.");
-        expectFullReferrer(ReferrerTest.NO_REFERRER_WHEN_DOWNGRADE, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'default' works correctly from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'default' works correctly from HTTPS to HTTP.");
-        expectNoReferrer(ReferrerTest.NO_REFERRER_WHEN_DOWNGRADE, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'default' works correctly from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/security/contentSecurityPolicy/resources/referrer-test.php?policy=no-referrer-when-downgrade&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-default-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'default' works correctly from HTTPS to HTTPS.");
-        expectFullReferrer(ReferrerTest.NO_REFERRER_WHEN_DOWNGRADE, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that '' === never from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that '' === never from HTTP to HTTP.");
-        expectNoReferrer(ReferrerTest.EMPTY, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that '' == never works correctly from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that '' == never works correctly from HTTP to HTTPS.");
-        expectNoReferrer(ReferrerTest.EMPTY, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that '' == never works correctly from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that '' == never works correctly from HTTPS to HTTP.");
-        expectNoReferrer(ReferrerTest.EMPTY, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that '' == never works correctly from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-empty-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that '' == never works correctly from HTTPS to HTTPS.");
-        expectNoReferrer(ReferrerTest.EMPTY, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "invalid". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that invalid is ignored from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=invalid&to=http"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,14 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that invalid is ignored from HTTP to HTTP.");
-        expectFullReferrer(ReferrerTest.INVALID, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "invalid". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that invalid is ignored from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/security/contentSecurityPolicy/resources/referrer-test.php?policy=invalid&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that invalid is ignored from HTTP to HTTPS.");
-        expectFullReferrer(ReferrerTest.INVALID, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "invalid". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that invalid is ignored from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that invalid is ignored from HTTPS to HTTP.");
-        expectNoReferrer(ReferrerTest.INVALID, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,11 +0,0 @@
-CONSOLE MESSAGE: The 'referrer' Content Security Policy directive has the invalid value "invalid". Valid values are "no-referrer", "no-referrer-when-downgrade", "origin", "origin-when-cross-origin", and "unsafe-url".
-Test that invalid is ignored from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/security/contentSecurityPolicy/resources/referrer-test.php?policy=invalid&to=https"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-invalid-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that invalid is ignored from HTTPS to HTTPS.");
-        expectFullReferrer(ReferrerTest.INVALID, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'no-referrer' works correctly from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'no-referrer' works correctly from HTTP to HTTP.");
-        expectNoReferrer(ReferrerTest.NO_REFERRER, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'no-referrer' works correctly from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'no-referrer' works correctly from HTTP to HTTPS.");
-        expectNoReferrer(ReferrerTest.NO_REFERRER, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'no-referrer' works correctly from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'no-referrer' works correctly from HTTPS to HTTP.");
-        expectNoReferrer(ReferrerTest.NO_REFERRER, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'no-referrer' works correctly from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is ""
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-never-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'no-referrer' works correctly from HTTPS to HTTPS.");
-        expectNoReferrer(ReferrerTest.NO_REFERRER, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'origin' works correctly from HTTP to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'origin' works correctly from HTTP to HTTP.");
-        expectOriginReferrer(ReferrerTest.ORIGIN, ReferrerTest.HTTP, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'origin' works correctly from HTTP to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "http://127.0.0.1:8000/"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-http-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'origin' works correctly from HTTP to HTTPS.");
-        expectOriginReferrer(ReferrerTest.ORIGIN, ReferrerTest.HTTP, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'origin' works correctly from HTTPS to HTTP.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-http.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'origin' works correctly from HTTPS to HTTP.");
-        expectOriginReferrer(ReferrerTest.ORIGIN, ReferrerTest.HTTPS, ReferrerTest.HTTP);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https-expected.txt (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https-expected.txt	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https-expected.txt	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,10 +0,0 @@
-Test that 'origin' works correctly from HTTPS to HTTPS.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS ReferrerTest.referrerResult is "https://127.0.0.1:8443/"
-PASS successfullyParsed is true
-
-TEST COMPLETE
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https.html (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https.html	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/referrer-origin-https-https.html	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script src=""
-    <script src=""
-</head>
-<body>
-    <script>
-        description("Test that 'origin' works correctly from HTTPS to HTTPS.");
-        expectOriginReferrer(ReferrerTest.ORIGIN, ReferrerTest.HTTPS, ReferrerTest.HTTPS);
-    </script>
-</body>
-</html>

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test-endpoint.php	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,9 +0,0 @@
-<html>
-<head>
-<script>
-    var referrerHeader = "<?php echo $_SERVER['HTTP_REFERER'] ?>";
-    window.top.postMessage(referrerHeader, "*");
-</script>
-</head>
-</html>
-

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.js (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.js	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.js	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,62 +0,0 @@
-var ReferrerTest = {
-    NO_REFERRER: "no-referrer",
-    NO_REFERRER_WHEN_DOWNGRADE: "no-referrer-when-downgrade",
-    ORIGIN: "origin",
-    ORIGIN_WHEN_CROSS_ORIGIN: "origin-when-cross-origin",
-    UNSAFE_URL: "unsafe-url",
-
-    INVALID: "invalid",
-    EMPTY: "",
-
-    HTTP: "http",
-    HTTPS: "https",
-
-    bindHandler: function(func) {
-        window.addEventListener("message", function (e) {
-            ReferrerTest.referrerResult = undefined;
-            func(e.data);
-            finishJSTest();
-        });
-    },
-
-    base: function(scheme) {
-        return scheme == "http" ? "http://127.0.0.1:8000/" : "https://127.0.0.1:8443/";
-    },
-
-    generateFrameURL: function(policy, from, to) {
-        return ReferrerTest.base(from) + "security/contentSecurityPolicy/resources/referrer-test.php?policy=" + policy + "&to=" + to;
-    },
-
-    injectFrame: function(policy, from, to) {
-        var iframe = document.createElement("iframe");
-        iframe.src = "" from, to);
-        document.body.appendChild(iframe);
-    }
-};
-
-function expectFullReferrer(policy, from, to) {
-    ReferrerTest.bindHandler(function (referrer) {
-        ReferrerTest.referrerResult = referrer;
-        shouldBeEqualToString("ReferrerTest.referrerResult", ReferrerTest.generateFrameURL(policy, from, to));
-    });
-    ReferrerTest.injectFrame(policy, from, to);
-}
-
-function expectNoReferrer(policy, from, to) {
-    ReferrerTest.bindHandler(function (referrer) {
-        ReferrerTest.referrerResult = referrer;
-        shouldBeEqualToString("ReferrerTest.referrerResult", "");
-    });
-    ReferrerTest.injectFrame(policy, from, to);
-}
-
-function expectOriginReferrer(policy, from, to) {
-    ReferrerTest.bindHandler(function (referrer) {
-        ReferrerTest.referrerResult = referrer;
-        shouldBeEqualToString("ReferrerTest.referrerResult", ReferrerTest.base(from));
-    });
-    ReferrerTest.injectFrame(policy, from, to);
-}
-
-window.wasPostTestScriptParsed = true;
-window.jsTestIsAsync = true;

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.php (199171 => 199172)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.php	2016-04-07 19:47:27 UTC (rev 199171)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/referrer-test.php	2016-04-07 19:52:41 UTC (rev 199172)
@@ -1,13 +0,0 @@
-<?php
-    $policy = $_GET["policy"];
-    $to = $_GET["to"] == "http" ? "http://127.0.0.1:8000" : "https://127.0.0.1:8443";
-    header("Content-Security-Policy: referrer $policy");
-?>
-<!DOCTYPE html>
-<html>
-<head>
-    <script>
-        document.location = "<?php echo $to ?>/security/contentSecurityPolicy/resources/referrer-test-endpoint.php";
-    </script>
-</head>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to