Title: [274671] trunk/LayoutTests
Revision
274671
Author
[email protected]
Date
2021-03-18 13:42:10 -0700 (Thu, 18 Mar 2021)

Log Message

[ macOS Wk2 ] http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php is constantly text failing
https://bugs.webkit.org/show_bug.cgi?id=223079
<rdar://problem/75323779>

Reviewed by Jonathan Bedard.

* http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked.html:
* http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:
* http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect.html:
* http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php:
* http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php:
* http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.py:
* http/tests/security/contentSecurityPolicy/resources/redirect.pl:
* http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-allowed.py:
* http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-blocked.py:
* http/tests/security/contentSecurityPolicy/resources/worker-xhr-allowed.py:
* http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-allowed.py:
* http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-blocked.py:
* http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl: Removed.
* http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py: Added.
* http/tests/security/no-_javascript_-refresh.py:
* platform/mac-wk1/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
* platform/mac-wk1/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:
* platform/win/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
* platform/win/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:

Modified Paths

Added Paths

Removed Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (274670 => 274671)


--- trunk/LayoutTests/ChangeLog	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/ChangeLog	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,3 +1,34 @@
+2021-03-18  Chris Gambrell  <[email protected]>
+
+        [ macOS Wk2 ] http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php is constantly text failing
+        https://bugs.webkit.org/show_bug.cgi?id=223079
+        <rdar://problem/75323779>
+
+        Reviewed by Jonathan Bedard.
+
+        * http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
+        * http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked.html:
+        * http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:
+        * http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect.html:
+        * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt:
+        * http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php:
+        * http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
+        * http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php:
+        * http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.py:
+        * http/tests/security/contentSecurityPolicy/resources/redirect.pl:
+        * http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-allowed.py:
+        * http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-blocked.py:
+        * http/tests/security/contentSecurityPolicy/resources/worker-xhr-allowed.py:
+        * http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-allowed.py:
+        * http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-blocked.py:
+        * http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl: Removed.
+        * http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py: Added.
+        * http/tests/security/no-_javascript_-refresh.py:
+        * platform/mac-wk1/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
+        * platform/mac-wk1/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:
+        * platform/win/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
+        * platform/win/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt:
+
 2021-03-18  Robert Jenner  <[email protected]>
 
         [ macOS Wk2 ARM64 ] platform/mac/webrtc/captureCanvas-webrtc-software-encoder.html is a flakey timeout

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked.html (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked.html	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked.html	2021-03-18 20:42:10 UTC (rev 274671)
@@ -15,7 +15,7 @@
         try {
             // Redirect to a different host, because as of CSP2 paths
             // are ignored when matching after a redirect.
-            xhr.open("GET", "resources/redir.py?url="" true);
+            xhr.open("GET", "resources/redir.py?url="" true);
         } catch(e) {
             testFailed("XMLHttpRequest.open() should not throw an exception.");
         }

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect.html (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect.html	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect.html	2021-03-18 20:42:10 UTC (rev 274671)
@@ -21,7 +21,7 @@
         try {
             // Redirect to a different host, because as of CSP2 paths
             // are ignored when matching after a redirect.
-            xhr.open("GET", "resources/redir.php?url="" true);
+            xhr.open("GET", "resources/redir.php?url="" true);
         } catch(e) {
             testFailed("XMLHttpRequest.open() should not throw an exception.");
         }

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,3 +1,3 @@
-CONSOLE MESSAGE: The Content Security Policy 'connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
+CONSOLE MESSAGE: The Content Security Policy 'connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
 Pass
 

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-beacon-redirect-blocked.php	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,5 +1,5 @@
 <?php
-    header("Content-Security-Policy-Report-Only: connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py");
+    header("Content-Security-Policy-Report-Only: connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php");
 ?>
 <!DOCTYPE html>
 <html>
@@ -18,7 +18,7 @@
 }
 
 try {
-    navigator.sendBeacon("http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url=""
+    navigator.sendBeacon("http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php?url=""
     log("Pass");
 } catch(e) {
     log("Fail");

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,5 +1,5 @@
-CONSOLE MESSAGE: The Content Security Policy 'connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
-CONSOLE MESSAGE: [Report Only] Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: The Content Security Policy 'connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py' was delivered in report-only mode, but does not specify a 'report-uri'; the policy will have no effect. Please either add a 'report-uri' directive, or deliver the policy via the 'Content-Security-Policy' header.
+CONSOLE MESSAGE: [Report Only] Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 PASS XMLHttpRequest.send() did follow the redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,5 +1,5 @@
 <?php
-    header("Content-Security-Policy-Report-Only: connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php");
+    header("Content-Security-Policy-Report-Only: connect-src http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py");
 ?>
 <!DOCTYPE html>
 <html>
@@ -16,7 +16,7 @@
         var xhr = new XMLHttpRequest;
         try {
             // Redirect to a different host, because as of CSP2 paths are ignored when matching after a redirect.
-            xhr.open("GET", "resources/redir.php?url="" true);
+            xhr.open("GET", "resources/redir.py?url="" true);
         } catch(e) {
             testFailed("XMLHttpRequest.open() should not throw an exception.");
         }

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/go-to-echo-report.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -7,7 +7,7 @@
 test = parse_qs(os.environ.get('QUERY_STRING', ''), keep_blank_values=True).get('test', [''])[0]
 
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'if (window.testRunner) {{\n'
     '    testRunner.dumpAsText();\n'
     '    testRunner.waitUntilDone();\n'

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redirect.pl (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redirect.pl	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/redirect.pl	2021-03-18 20:42:10 UTC (rev 274671)
@@ -28,7 +28,7 @@
 
 if ($resourceType eq "xhr") {
     print "Access-Control-Allow-Origin: http://127.0.0.1:8000\r\n";
-    print "Location: http://127.0.0.1:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl";
+    print "Location: http://127.0.0.1:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py";
 }
 
 print "\r\n\r\n";

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-allowed.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-allowed.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-allowed.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -5,7 +5,7 @@
 
 determine_content_security_policy_header()
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'self.result = false;\n'
     'var exception;\n'
     'try {\n'

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-blocked.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-blocked.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-importScript-redirect-cross-origin-blocked.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -5,7 +5,7 @@
 
 determine_content_security_policy_header()
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'var exception;\n'
     'try {\n'
     '    importScripts("http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url=""

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-allowed.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-allowed.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-allowed.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -5,7 +5,7 @@
 
 determine_content_security_policy_header()
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'var isAsynchronous = false;\n'
     'var xhr = new XMLHttpRequest;\n'
     'try {\n'

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-allowed.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-allowed.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-allowed.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -4,7 +4,7 @@
 from utils import determine_content_security_policy_header
 
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'var isAsynchronous = false;\n'
     'var xhr = new XMLHttpRequest;\n'
     'try {\n'

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-blocked.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-blocked.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/worker-xhr-redirect-cross-origin-blocked.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -5,7 +5,7 @@
 
 determine_content_security_policy_header()
 sys.stdout.write(
-    'Content-Type: application/_javascript_\r\n\r\n'
+    'Content-Type: text/html\r\n\r\n'
     'var expectedExceptionCode = 19; // DOMException.NETWORK_ERR\n'
     'var isAsynchronous = false;\n'
     'var xhr = new XMLHttpRequest;\n'

Deleted: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,8 +0,0 @@
-#!/usr/bin/perl -wT
-use strict;
-use CGI;
-
-print "Content-type: text/plain\r\n";
-print "Access-Control-Allow-Origin: *\r\n\r\n";
-
-print "hello\n";

Added: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py (0 => 274671)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py	                        (rev 0)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -0,0 +1,9 @@
+#!/usr/bin/env python3
+
+import sys
+
+sys.stdout.write(
+    'Content-Type: text/plain\r\n'
+    'Access-Control-Allow-Origin: *\r\n\r\n'
+    'hello\n'
+)
\ No newline at end of file
Property changes on: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py
___________________________________________________________________

Added: svn:executable

+* \ No newline at end of property

Modified: trunk/LayoutTests/http/tests/security/no-_javascript_-refresh.py (274670 => 274671)


--- trunk/LayoutTests/http/tests/security/no-_javascript_-refresh.py	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/http/tests/security/no-_javascript_-refresh.py	2021-03-18 20:42:10 UTC (rev 274671)
@@ -4,8 +4,8 @@
 
 sys.stdout.write(
     'status: 200\r\n'
-    'Refresh: 0;URL=""
-    'Content-Type: text/html\r\n\r\n'
+    'Content-Type: text/html\r\n'
+    'Refresh: 0;URL=""
     '<!DOCTYPE html>\n'
     '<body>\n'
     '<script>\n'

Modified: trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt (274670 => 274671)


--- trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url="" due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url="" due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt (274670 => 274671)


--- trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/platform/mac-wk1/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php?url="" due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php?url="" due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt (274670 => 274671)


--- trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/connect-src-xmlhttprequest-redirect-to-blocked-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url="" due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.py?url="" due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 

Modified: trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt (274670 => 274671)


--- trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:31:18 UTC (rev 274670)
+++ trunk/LayoutTests/platform/win/http/tests/security/contentSecurityPolicy/report-document-uri-after-blocked-redirect-expected.txt	2021-03-18 20:42:10 UTC (rev 274671)
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.pl because it does not appear in the connect-src directive of the Content Security Policy.
+CONSOLE MESSAGE: Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/xhr-redirect-not-allowed.py because it does not appear in the connect-src directive of the Content Security Policy.
 CONSOLE MESSAGE: Blocked by Content Security Policy.
-CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php?url="" due to access control checks.
+CONSOLE MESSAGE: XMLHttpRequest cannot load http://127.0.0.1:8000/security/contentSecurityPolicy/resources/redir.php?url="" due to access control checks.
 PASS XMLHttpRequest.send() did not follow the disallowed redirect.
 PASS successfullyParsed is true
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to