Some headers are not used by WebContent processes although they may be leaked to JavaScript.
Created attachment 336735 [details] Patch
<rdar://problem/39010557>
Created attachment 336801 [details] Patch
Created attachment 336994 [details] Patch
I forgot to skip http/wpt/loading/redirect-headers.html in WK1 since this is a WK2 only test...
Comment on attachment 336994 [details] Patch Attachment 336994 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/7179651 New failing tests: http/wpt/loading/redirect-headers.html
Created attachment 337005 [details] Archive of layout-test-results from ews103 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-sierra Platform: Mac OS X 10.12.6
Comment on attachment 336994 [details] Patch Attachment 336994 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/7180997 New failing tests: http/wpt/loading/redirect-headers.html
Created attachment 337015 [details] Archive of layout-test-results from ews115 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 337025 [details] Patch
(In reply to youenn fablet from comment #10) > Created attachment 337025 [details] > Patch Skipping new test for WK1 that does not implement response header filtering
Comment on attachment 337025 [details] Patch Attachment 337025 [details] did not pass win-ews (win): Output: http://webkit-queues.webkit.org/results/7186253 New failing tests: http/wpt/loading/redirect-headers.html
Created attachment 337049 [details] Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Created attachment 337114 [details] Patch for landing
Comment on attachment 337114 [details] Patch for landing Clearing flags on attachment: 337114 Committed r230224: <https://trac.webkit.org/changeset/230224>
All reviewed patches have been landed. Closing bug.
The LayoutTest added with this change is a flaky failure on macOS: --- /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/http/wpt/loading/redirect-headers-expected.txt +++ /Volumes/Data/slave/sierra-release-tests-wk2/build/layout-test-results/http/wpt/loading/redirect-headers-actual.txt @@ -7,5 +7,4 @@ http://localhost:8800/WebKit/loading/redirect-headers.html - didFinishLoading http://localhost:8800/WebKit/beacon/resources/redirect.py?status=302&location=/ - willSendRequest <NSURLRequest URL http://localhost:8800/?status=302&location=%2F&count=1, main document URL http://localhost:8800/WebKit/loading/redirect-headers.html, http method GET> redirectResponse <NSURLResponse http://localhost:8800/WebKit/beacon/resources/redirect.py?status=302&location=/, http status code 302, 6 headers> http://localhost:8800/WebKit/beacon/resources/redirect.py?status=302&location=/ - didReceiveResponse <NSURLResponse http://localhost:8800/?status=302&location=%2F&count=1, http status code 200> -http://localhost:8800/WebKit/beacon/resources/redirect.py?status=302&location=/ - didFinishLoading https://webkit-test-results.webkit.org/dashboards/flakiness_dashboard.html#showAllRuns=true&tests=http%2Fwpt%2Floading%2Fredirect-headers.html