Title: [274392] trunk/LayoutTests
- Revision
- 274392
- Author
- [email protected]
- Date
- 2021-03-13 13:55:51 -0800 (Sat, 13 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/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
* http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (274391 => 274392)
--- trunk/LayoutTests/ChangeLog 2021-03-13 20:00:21 UTC (rev 274391)
+++ trunk/LayoutTests/ChangeLog 2021-03-13 21:55:51 UTC (rev 274392)
@@ -1,3 +1,14 @@
+2021-03-13 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/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt:
+ * http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php:
+
2021-03-13 Antoine Quint <[email protected]>
Fix interpolation of clip CSS property
Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt (274391 => 274392)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt 2021-03-13 20:00:21 UTC (rev 274391)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked-expected.txt 2021-03-13 21:55:51 UTC (rev 274392)
@@ -1,4 +1,4 @@
-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.
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.
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 (274391 => 274392)
--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php 2021-03-13 20:00:21 UTC (rev 274391)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.php 2021-03-13 21:55:51 UTC (rev 274392)
@@ -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>
@@ -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.py?url="" true);
+ xhr.open("GET", "resources/redir.php?url="" true);
} catch(e) {
testFailed("XMLHttpRequest.open() should not throw an exception.");
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes