Changeset 196878 in webkit
- Timestamp:
- Feb 21, 2016, 1:37:42 PM (11 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 1 edited
- 3 moved
-
ChangeLog (modified) (1 diff)
-
http/tests/contentextensions/block-cookies-in-csp-report.php (moved) (moved from trunk/LayoutTests/http/tests/contentextensions/block-cookies-in-csp-report.html ) (1 diff)
-
http/tests/contentextensions/block-csp-report.php (moved) (moved from trunk/LayoutTests/http/tests/contentextensions/block-csp-report.html ) (1 diff)
-
http/tests/contentextensions/hide-on-csp-report.php (moved) (moved from trunk/LayoutTests/http/tests/contentextensions/hide-on-csp-report.html ) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r196877 r196878 1 2016-02-21 Daniel Bates <dabates@apple.com> 2 3 Attempt to fix the Content Extension test failures following <https://trac.webkit.org/changeset/196875> 4 (https://bugs.webkit.org/show_bug.cgi?id=154307) 5 6 Convert Content Extension tests that use the Content Security Policy directive report-uri from HTML files 7 to PHP scripts and modified them to define the content security policy for the page via the Content-Security-Policy 8 HTTP header instead of via a meta element so that the report-uri directive is honored. Following 9 <https://trac.webkit.org/changeset/196875> the directive report-uri is only honored when contained in a 10 policy that is delivered via an HTTP header. That is, it is no longer honored when delivered in a meta element. 11 12 * http/tests/contentextensions/block-cookies-in-csp-report.php: Renamed from LayoutTests/http/tests/contentextensions/block-cookies-in-csp-report.html. 13 * http/tests/contentextensions/block-csp-report.php: Renamed from LayoutTests/http/tests/contentextensions/block-csp-report.html. 14 * http/tests/contentextensions/hide-on-csp-report.php: Renamed from LayoutTests/http/tests/contentextensions/hide-on-csp-report.html. 15 1 16 2016-02-21 Daniel Bates <dabates@apple.com> 2 17 -
trunk/LayoutTests/http/tests/contentextensions/block-cookies-in-csp-report.php
r196877 r196878 1 <?php 2 header("Content-Security-Policy: img-src 'self'; report-uri /contentextensions/resources/save-ping.php?test=contentextensions-block-cookies-in-csp-report"); 3 ?> 1 4 <head> 2 <meta http-equiv="Content-Security-Policy" content="img-src 'self'; report-uri /contentextensions/resources/save-ping.php?test=contentextensions-block-cookies-in-csp-report">3 5 <script> 4 6 if (window.testRunner) { -
trunk/LayoutTests/http/tests/contentextensions/block-csp-report.php
r196877 r196878 1 <?php 2 header("Content-Security-Policy: img-src 'self'; report-uri http://localhost:8000/contentextensions/resources/save-ping.php?test=contentextensions-block-csp-report"); 3 ?> 1 4 <head> 2 <meta http-equiv="Content-Security-Policy" content="img-src 'self'; report-uri http://localhost:8000/contentextensions/resources/save-ping.php?test=contentextensions-block-csp-report">3 5 <script> 4 6 if (window.testRunner) { -
trunk/LayoutTests/http/tests/contentextensions/hide-on-csp-report.php
r196877 r196878 1 <?php 2 header("Content-Security-Policy: img-src 'self'; report-uri http://localhost:8000/contentextensions/resources/save-ping.php?test=contentextensions-hide-on-csp-report"); 3 ?> 1 4 <head> 2 <meta http-equiv="Content-Security-Policy" content="img-src 'self'; report-uri http://localhost:8000/contentextensions/resources/save-ping.php?test=contentextensions-hide-on-csp-report">3 5 <script> 4 6 if (window.testRunner) {
Note:
See TracChangeset
for help on using the changeset viewer.