Title: [275274] trunk/LayoutTests
Revision
275274
Author
clo...@igalia.com
Date
2021-03-31 01:41:16 -0700 (Wed, 31 Mar 2021)

Log Message

REGRESSION(r274244): [GTK][WPE] Two http/tests/security/contentSecurityPolicy tests crash
https://bugs.webkit.org/show_bug.cgi?id=223978

Reviewed by Philippe Normand.

Apache not longer sends a Content-Length header with the cgi/python version of this tests,
but it used chunked transfer encoding.
It seems this confuses libsoup causing a critical event.
Add an empty \r\n at the end of the test to indicate that the server has finished sending
the data.

* http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py:
* http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py:

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (275273 => 275274)


--- trunk/LayoutTests/ChangeLog	2021-03-31 08:30:41 UTC (rev 275273)
+++ trunk/LayoutTests/ChangeLog	2021-03-31 08:41:16 UTC (rev 275274)
@@ -1,3 +1,19 @@
+2021-03-31  Carlos Alberto Lopez Perez  <clo...@igalia.com>
+
+        REGRESSION(r274244): [GTK][WPE] Two http/tests/security/contentSecurityPolicy tests crash
+        https://bugs.webkit.org/show_bug.cgi?id=223978
+
+        Reviewed by Philippe Normand.
+
+        Apache not longer sends a Content-Length header with the cgi/python version of this tests,
+        but it used chunked transfer encoding.
+        It seems this confuses libsoup causing a critical event.
+        Add an empty \r\n at the end of the test to indicate that the server has finished sending
+        the data.
+
+        * http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py:
+        * http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py:
+
 2021-03-31  Alexey Shvayka  <shvaikal...@gmail.com>
 
         Optimize constructors of ES6 collections

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py (275273 => 275274)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py	2021-03-31 08:30:41 UTC (rev 275273)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py	2021-03-31 08:41:16 UTC (rev 275274)
@@ -24,4 +24,5 @@
     '<iframe src=""
     '</body>\n'
     '</html>\n'
+    '\r\n'
 )
\ No newline at end of file

Modified: trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py (275273 => 275274)


--- trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py	2021-03-31 08:30:41 UTC (rev 275273)
+++ trunk/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py	2021-03-31 08:41:16 UTC (rev 275274)
@@ -24,4 +24,5 @@
     '<iframe src=""
     '</body>\n'
     '</html>\n'
+    '\r\n'
 )
\ No newline at end of file

Modified: trunk/LayoutTests/platform/glib/TestExpectations (275273 => 275274)


--- trunk/LayoutTests/platform/glib/TestExpectations	2021-03-31 08:30:41 UTC (rev 275273)
+++ trunk/LayoutTests/platform/glib/TestExpectations	2021-03-31 08:41:16 UTC (rev 275274)
@@ -2054,9 +2054,6 @@
 webkit.org/b/223965 http/tests/contentextensions/hide-on-csp-report.py [ Crash ]
 webkit.org/b/223965 http/tests/contentextensions/main-resource-redirect-blocked.py [ Crash ]
 
-webkit.org/b/223978 http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ]
-webkit.org/b/223978 http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ]
-
 # End: Common failures between GTK and WPE.
 
 #////////////////////////////////////////////////////////////////////////////////////////
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to