After 266403@main (bug#258322), http/tests/security/redirect-BLOCKED-to-localURL.html is crashing for Windows and GTK ports. https://results.webkit.org/?suite=layout-tests&test=http%2Ftests%2Fsecurity%2Fredirect-BLOCKED-to-localURL.html Buildbot: builder WinCairo-64-bit-Debug-Tests build 20673 (266404@main) https://build.webkit.org/#/builders/727/builds/20673 stderr: > ERROR: 0000025BD74BB5B0 - [pageProxyID=538, webPageID=539, PID=8768] WebPageProxy::didFailProvisionalLoadForFrame: frameID=49, isMainFrame=0, domain=WebKitErrorDomain, code=302, isMainFrame=0, willInternallyHandleFailure=0 > C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(5571) : WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared > ERROR: 0000025BD4C754F0 - [PID=8768] WebProcessProxy::checkURLReceivedFromWebProcess: Received an unexpected URL from the web process > C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebProcessProxy.cpp(921) : WebKit::WebProcessProxy::checkURLReceivedFromWebProcess > ERROR: C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp 5574: Invalid message dispatched WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared > C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/WebPageProxy.cpp(5574) : WebKit::WebPageProxy::didFailProvisionalLoadForFrameShared > ERROR: Received an invalid message 'WebPageProxy_DidFailProvisionalLoadForFrame' from the WebContent process with PID 8768 > C:\BW\WinCairo-64-bit-Debug-Build\build\Source\WebKit\UIProcess/AuxiliaryProcessProxy.cpp(395) : WebKit::AuxiliaryProcessProxy::logInvalidMessage > ERROR: 0000025BD4C754F0 - [PID=8768] WebProcessProxy::didClose (web process crash) I confirmed reverting 266403@main fixes the problem.
In WebPageProxy::didFailProvisionalLoadForFrameShared, in Mac port, error.failingURL() is "http://127.0.0.1:8000/resources/redirect.py?url=file:///tmp/LayoutTests/http/tests/security/resources/file-redirect-target.html". But in Windows port, it's "file:///tmp/LayoutTests/http/tests/security/resources/file-redirect-target.html". In both ports, provisionalURL is "http://127.0.0.1:8000/resources/redirect.py?url=file:///tmp/LayoutTests/http/tests/security/resources/file-redirect-target.html".
Pull request: https://github.com/WebKit/WebKit/pull/16222
<rdar://problem/113474059>
Details of ResourceError on Mac --- FailingURL = http://127.0.0.1:8000/resources/redirect.py?url=file:///tmp/LayoutTests/http/tests/security/resources/file-redirect-target.html Domain: NSURLErrorDomain Type: General Error code: -1102 (NSURLErrorNoPermissionsToReadFile) Description: You do not have permission to access the requested resource ---
Pull request: https://github.com/WebKit/WebKit/pull/16469
Committed 266696@main (322a31dd1fcc): <https://commits.webkit.org/266696@main> Reviewed commits have been landed. Closing PR #16469 and removing active labels.