Title: [277419] trunk/LayoutTests
Revision
277419
Author
[email protected]
Date
2021-05-12 20:46:57 -0700 (Wed, 12 May 2021)

Log Message

[GLIB] http/tests/security/contentSecurityPolicy/report-only-from-header.py is a flaky text failure

Unreviewed test gardening.

Sometimes there's an extra console log error message. Dump all JS console output and emit new baseline.

* platform/glib/TestExpectations:
* platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (277418 => 277419)


--- trunk/LayoutTests/ChangeLog	2021-05-13 02:59:05 UTC (rev 277418)
+++ trunk/LayoutTests/ChangeLog	2021-05-13 03:46:57 UTC (rev 277419)
@@ -1,3 +1,14 @@
+2021-05-12  Diego Pino Garcia  <[email protected]>
+
+        [GLIB] http/tests/security/contentSecurityPolicy/report-only-from-header.py is a flaky text failure
+
+        Unreviewed test gardening.
+
+        Sometimes there's an extra console log error message. Dump all JS console output and emit new baseline.
+
+        * platform/glib/TestExpectations:
+        * platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt: Added.
+
 2021-05-12  Amir Mark Jr  <[email protected]>
 
         [BigSur Wk1 Release] imported/w3c/web-platform-tests/css/css-will-change/will-change-fixpos-cb-transform-1.html is a flaky image failure

Modified: trunk/LayoutTests/platform/glib/TestExpectations (277418 => 277419)


--- trunk/LayoutTests/platform/glib/TestExpectations	2021-05-13 02:59:05 UTC (rev 277418)
+++ trunk/LayoutTests/platform/glib/TestExpectations	2021-05-13 03:46:57 UTC (rev 277419)
@@ -849,6 +849,11 @@
 
 webkit.org/b/224626 http/tests/security/contentSecurityPolicy/report-only-connect-src-xmlhttprequest-redirect-to-blocked.py [ Failure Pass ]
 
+# Sometimes there's an extra error message:
+# - [Report Only] Refused to connect to http://localhost:8000/security/contentSecurityPolicy/resources/echo-report.py
+# because it does not appear in the connect-src directive of the Content Security Policy.
+http/tests/security/contentSecurityPolicy/report-only-from-header.py [ DumpJSConsoleLogInStdErr ]
+
 #////////////////////////////////////////////////////////////////////////////////////////
 # End of Security-related bugs
 #////////////////////////////////////////////////////////////////////////////////////////

Added: trunk/LayoutTests/platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt (0 => 277419)


--- trunk/LayoutTests/platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/glib/http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt	2021-05-13 03:46:57 UTC (rev 277419)
@@ -0,0 +1,9 @@
+ALERT: PASS
+CSP report received:
+CONTENT_TYPE: application/csp-report
+HTTP_HOST: 127.0.0.1:8000
+HTTP_REFERER: http://127.0.0.1:8000/security/contentSecurityPolicy/report-only-from-header.py
+REQUEST_METHOD: POST
+REQUEST_URI: /security/contentSecurityPolicy/resources/save-report.py
+=== POST DATA =""
+{"csp-report":{"document-uri":"http://127.0.0.1:8000/security/contentSecurityPolicy/report-only-from-header.py","referrer":"","violated-directive":"script-src 'self'","effective-directive":"script-src","original-policy":"script-src 'self'; report-uri resources/save-report.py","blocked-uri":"","status-code":200}}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to