Title: [199526] trunk/LayoutTests
Revision
199526
Author
[email protected]
Date
2016-04-13 19:35:40 -0700 (Wed, 13 Apr 2016)

Log Message

CSP: Remove duplicate test meta-outside-head.html
https://bugs.webkit.org/show_bug.cgi?id=156556

Reviewed by Brent Fulgham.

It is unnecessary to keep the test http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html as
the functionality it exercises is covered by test http/tests/security/contentSecurityPolicy/meta-tag-ignored-if-not-in-head.html.
The output of the latter test better conveys the purpose of the test and how to interpret its result than
the former.

* http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt: Removed.
* http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (199525 => 199526)


--- trunk/LayoutTests/ChangeLog	2016-04-14 02:29:55 UTC (rev 199525)
+++ trunk/LayoutTests/ChangeLog	2016-04-14 02:35:40 UTC (rev 199526)
@@ -1,5 +1,20 @@
 2016-04-13  Daniel Bates  <[email protected]>
 
+        CSP: Remove duplicate test meta-outside-head.html
+        https://bugs.webkit.org/show_bug.cgi?id=156556
+
+        Reviewed by Brent Fulgham.
+
+        It is unnecessary to keep the test http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html as
+        the functionality it exercises is covered by test http/tests/security/contentSecurityPolicy/meta-tag-ignored-if-not-in-head.html.
+        The output of the latter test better conveys the purpose of the test and how to interpret its result than
+        the former.
+
+        * http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt: Removed.
+        * http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html: Removed.
+
+2016-04-13  Daniel Bates  <[email protected]>
+
         CSP: Remove experimental directive reflected-xss
         https://bugs.webkit.org/show_bug.cgi?id=156554
 

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt (199525 => 199526)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt	2016-04-14 02:29:55 UTC (rev 199525)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head-expected.txt	2016-04-14 02:35:40 UTC (rev 199526)
@@ -1,3 +0,0 @@
-CONSOLE MESSAGE: line 11: The Content Security Policy 'script-src 'none'' was delivered via a <meta> element outside the document's <head>, which is disallowed. The policy has been ignored.
-ALERT: PASS (1/1)
-This test checks that Content Security Policy delivered via a meta element is not enforced if the element is outside the document's head.

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html (199525 => 199526)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html	2016-04-14 02:29:55 UTC (rev 199525)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/meta-outside-head.html	2016-04-14 02:35:40 UTC (rev 199526)
@@ -1,16 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-    <script>
-        if (window.testRunner)
-            testRunner.dumpAsText();
-    </script>
-</head>
-<body>
-    <p>This test checks that Content Security Policy delivered via a meta element is not enforced if the element is outside the document's head.</p>
-    <meta http-equiv="Content-Security-Policy" content="script-src 'none'">
-    <script>
-        alert("PASS (1/1)");
-    </script>
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to