RESOLVED FIXED 222823
REGRESSION: [iOS] http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode.html is failing
https://bugs.webkit.org/show_bug.cgi?id=222823
Summary REGRESSION: [iOS] http/tests/security/strip-referrer-to-origin-for-third-part...
Ryan Haddad
Reported 2021-03-05 13:52:32 PST
http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode.html is failing on iOS bots: --- /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode-expected.txt +++ /Volumes/Data/worker/ios-simulator-14-release-tests-wk2/build/layout-test-results/http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode-actual.txt @@ -12,4 +12,8 @@ -------- Frame: '<!--frame1-->' -------- -http://127.0.0.1:8000/ +Not Found + +The requested URL was not found on this server. + +Apache/2.4.41 (Unix) PHP/7.3.11 LibreSSL/2.8.3 Server at 127.0.0.1 Port 80 https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2Fstrip-referrer-to-origin-for-third-party-redirects-in-private-mode.html
Attachments
Patch for EWS (2.54 KB, patch)
2021-03-05 15:51 PST, Chris Gambrell
no flags
Patch (1.60 KB, patch)
2021-03-05 17:14 PST, Chris Gambrell
no flags
Patch (1.69 KB, patch)
2021-03-08 08:22 PST, Chris Gambrell
no flags
Ryan Haddad
Comment 1 2021-03-05 13:53:13 PST
I think this broke with the PHP -> Python conversion in https://trac.webkit.org/changeset/272981/webkit
Ryan Haddad
Comment 2 2021-03-05 13:53:54 PST
EWS missed this because the test is marked as a flaky timeout, so it was skipped.
Jonathan Bedard
Comment 3 2021-03-05 14:35:26 PST
I'll look into this Monday. Seems likely to do with 'allowCache'.
Chris Gambrell
Comment 4 2021-03-05 15:51:33 PST
Created attachment 422446 [details] Patch for EWS
Darin Adler
Comment 5 2021-03-05 15:55:13 PST
Comment on attachment 422446 [details] Patch for EWS View in context: https://bugs.webkit.org/attachment.cgi?id=422446&action=review > LayoutTests/ChangeLog:9 > + * http/tests/resources/redirect.py: > + (addCacheControl): Normally we explain what we changed and why it fixes the bug.
Ryan Haddad
Comment 6 2021-03-05 16:09:26 PST
Comment on attachment 422446 [details] Patch for EWS Not yet ready for review.
Jonathan Bedard
Comment 7 2021-03-05 16:13:42 PST
Comment on attachment 422446 [details] Patch for EWS View in context: https://bugs.webkit.org/attachment.cgi?id=422446&action=review > LayoutTests/http/tests/resources/redirect.py:33 > sys.exit(0) This looks wrong.
Chris Gambrell
Comment 8 2021-03-05 17:14:35 PST
Chris Gambrell
Comment 9 2021-03-05 17:18:28 PST
Comment on attachment 422456 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=422456&action=review > LayoutTests/http/tests/security/strip-referrer-to-origin-for-third-party-redirects-in-private-mode.html:-30 > - openIframe("resources/redirect.py?redirectTo=http://localhost:8000/security/resources/echo-referrer.php", finishJSTest); "resources/redirect.py" was thought to be referencing LayoutTests/http/tests/resources/redirect.py when in actuality it was referencing LayoutTests/http/tests/security/resources/redirect.py which does not exist. Corrected back to "resources/redirect.php"
Radar WebKit Bug Importer
Comment 10 2021-03-06 08:10:52 PST
Chris Gambrell
Comment 11 2021-03-08 08:22:27 PST
EWS
Comment 12 2021-03-08 09:27:18 PST
Committed r274075: <https://commits.webkit.org/r274075> All reviewed patches have been landed. Closing bug and clearing flags on attachment 422571 [details].
Note You need to log in before you can comment on or make changes to this bug.