RESOLVED FIXED 223978
REGRESSION(r274244): [GTK][WPE] Two http/tests/security/contentSecurityPolicy tests crash
https://bugs.webkit.org/show_bug.cgi?id=223978
Summary REGRESSION(r274244): [GTK][WPE] Two http/tests/security/contentSecurityPolicy...
Carlos Alberto Lopez Perez
Reported 2021-03-30 19:37:30 PDT
This two tests crash after r274244 on GTK and WPE ports Regressions: Unexpected crashes (2) http/tests/security/contentSecurityPolicy/1.1/scripthash-allowed-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ] http/tests/security/contentSecurityPolicy/1.1/scripthash-blocked-by-legacy-enforced-policy-and-blocked-by-report-policy.py [ Crash ] A libsoup critical warning is emitted when running this tests: (process:4649): libsoup-CRITICAL **: 04:19:24.386: soup_filter_input_stream_read_until: assertion '!include_boundary || (boundary_length < length)' failed Debugging the issue it seems is related that the Apache server now doesn't send a "Content-length" header with the size of the body for the new version of the tests with cgi/python Therefore in that case we should end the text stream with an empty \r\n
Attachments
Patch (3.12 KB, patch)
2021-03-30 19:51 PDT, Carlos Alberto Lopez Perez
no flags
Patch (4.06 KB, patch)
2021-03-30 20:32 PDT, Carlos Alberto Lopez Perez
no flags
Carlos Alberto Lopez Perez
Comment 1 2021-03-30 19:51:07 PDT
Carlos Alberto Lopez Perez
Comment 2 2021-03-30 20:32:37 PDT
EWS
Comment 3 2021-03-31 01:41:21 PDT
Committed r275274: <https://commits.webkit.org/r275274> All reviewed patches have been landed. Closing bug and clearing flags on attachment 424731 [details].
Radar WebKit Bug Importer
Comment 4 2021-03-31 01:42:13 PDT
Note You need to log in before you can comment on or make changes to this bug.