main frame - didStartProvisionalLoadForFrame main frame - didCommitLoadForFrame frame "-->" - didStartProvisionalLoadForFrame main frame - didFinishDocumentLoadForFrame http://127.0.0.1:8000/loading/resources/test2/protected-resource.php - didReceiveAuthenticationChallenge - Responding with wrongusername:wrongpassword frame "-->" - didCommitLoadForFrame frame "-->" - didFinishDocumentLoadForFrame main frame - didHandleOnloadEventsForFrame frame "-->" - didStartProvisionalLoadForFrame frame "-->" - didHandleOnloadEventsForFrame frame "-->" - didFinishLoadForFrame http://127.0.0.1:8000/loading/resources/test2/basic-auth-testing.php?username=correctusername&password=correctpassword - didReceiveAuthenticationChallenge - Responding with correctusername:correctpassword frame "-->" - didCommitLoadForFrame frame "-->" - didFinishDocumentLoadForFrame frame "-->" - didHandleOnloadEventsForFrame frame "-->" - didFinishLoadForFrame main frame - didFinishLoadForFrame This test makes sure that once WebCore preemptively sends out Basic credentials it thinks apply to a new resource, and that resource response with a 401 challenge, that it doesn't try to send the same wrong credentials a second time. -------- Frame: '-->' -------- Authenticated as user: wrongusername password: wrongpassword -------- Frame: '-->' -------- Authenticated as user: correctusername password: correctpassword