Summary
CefRequestHandler.getAuthCredentials() (native/request_handler.cpp's
RequestHandler::GetAuthCredentials) has no test coverage and doesn't appear
reachable from this suite's resource-interception test harness:
CefAuthCallbackTest sets up a CefResourceHandler that returns a real
401 response with a WWW-Authenticate header, but getAuthCredentials() never
fires.
Likely the same limitation class as upstream issue chromiumembedded#384 (Accept-Language) --
auth-challenge handling may require a real net::URLLoader round trip through
Chromium's network stack that a purely local resource-interception handler
can't produce.
Reproduction
java/tests/junittests/CefAuthCallbackTest.java, currently @Disabled.
Confirmed by running it un-@Disabled: the test hangs waiting for the
callback that never comes.
Impact
native/CefAuthCallback_N.cpp and the RequestHandler::GetAuthCredentials/
URLRequestClient::GetAuthCredentials upcall paths remain 0% covered.
Summary
CefRequestHandler.getAuthCredentials()(native/request_handler.cpp'sRequestHandler::GetAuthCredentials) has no test coverage and doesn't appearreachable from this suite's resource-interception test harness:
CefAuthCallbackTestsets up aCefResourceHandlerthat returns a real401 response with a
WWW-Authenticateheader, butgetAuthCredentials()neverfires.
Likely the same limitation class as upstream issue chromiumembedded#384 (Accept-Language) --
auth-challenge handling may require a real
net::URLLoaderround trip throughChromium's network stack that a purely local resource-interception handler
can't produce.
Reproduction
java/tests/junittests/CefAuthCallbackTest.java, currently@Disabled.Confirmed by running it un-
@Disabled: the test hangs waiting for thecallback that never comes.
Impact
native/CefAuthCallback_N.cppand theRequestHandler::GetAuthCredentials/URLRequestClient::GetAuthCredentialsupcall paths remain 0% covered.