You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CefRequestHandler.getAuthCredentials() never fires for a locally-intercepted 401 response #26
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.
Activity
Fix two real double-release causes in CefClient/render_handler