Skip to content
  • commit-queue@webkit.org's avatar
    [BlackBerry] Add ability for DRT to handle HTTP authentication challenges. · 56dc077a
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=84031
    
    Patch by Jonathan Dong <jonathan.dong@torchmobile.com.cn> on 2012-04-16
    Reviewed by Rob Buis.
    
    Source/WebKit/blackberry:
    
    Added the interface function didReceivedAuthenticaitonChallenge()
    in interface class DumpRenderTreeClient;
    Called m_dumpRenderTree->didReceiveAuthenticationChallenge() in
    WebPagePrivate::authenticationChallenge() when DRT is enabled.
    
    Test: reuse existing test cases:
    http/tests/loading/basic-credentials-sent-automatically.html
    http/tests/loading/basic-auth-resend-wrong-credentials.html
    
    * Api/DumpRenderTreeClient.h:
    (WebCore):
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::authenticationChallenge):
    
    Tools:
    
    Implemented interface function didReceiveAuthenticationChallenge in class
    DumpRenderTree.
    
    * DumpRenderTree/blackberry/DumpRenderTree.cpp:
    (drtCredentialDescription):
    (BlackBerry::WebKit::DumpRenderTree::didReceiveAuthenticationChallenge):
    (WebKit):
    * DumpRenderTree/blackberry/DumpRenderTreeBlackBerry.h:
    (WebCore):
    (DumpRenderTree):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    56dc077a