Changeset 116071 in webkit


Ignore:
Timestamp:
May 3, 2012 11:24:45 PM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] DRT should support LayoutTestController's willSendRequestReturnsNullOnRedirect()
https://bugs.webkit.org/show_bug.cgi?id=82704

Patch by Christophe Dumez <Christophe Dumez> on 2012-05-03
Reviewed by Antonio Gomes.

Tools:

EFL's DRT needs to obey LayoutTestController's
willSendRequestReturnsNullOnRedirect().

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onWillSendRequest):

LayoutTests:

Update test_expectations.txt now that EFL's DumpRenderTree supports
LayoutTestController's willSendRequestReturnsNullOnRedirect().

  • platform/efl/Skipped:
  • platform/efl/test_expectations.txt:
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r116070 r116071  
     12012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [EFL] DRT should support LayoutTestController's willSendRequestReturnsNullOnRedirect()
     4        https://bugs.webkit.org/show_bug.cgi?id=82704
     5
     6        Reviewed by Antonio Gomes.
     7
     8        Update test_expectations.txt now that EFL's DumpRenderTree supports
     9        LayoutTestController's willSendRequestReturnsNullOnRedirect().
     10
     11        * platform/efl/Skipped:
     12        * platform/efl/test_expectations.txt:
     13
    1142012-05-03  Zan Dobersek  <zandobersek@gmail.com>
    215
  • trunk/LayoutTests/platform/efl/Skipped

    r116009 r116071  
    587587# BUG: Missing resource load callback ability in DRT
    588588http/tests/loading/redirect-methods.html
    589 
    590 # Requires willSendRequestReturnsNullOnRedirect + willSendRequest + didFinishLoading
    591 http/tests/misc/will-send-request-returns-null-on-redirect.html
    592 http/tests/misc/favicon-loads-with-icon-loading-override.html
    593589
    594590# BUG: No authentication challenge handling
  • trunk/LayoutTests/platform/efl/test_expectations.txt

    r116069 r116071  
    263263BUGWK85492 : css3/zoom-coords.xhtml = TEXT
    264264
     265// Redirect response URL is not the one expected
     266BUGWK85072 : http/tests/misc/will-send-request-returns-null-on-redirect.html = TEXT
     267
     268// No support for overriding WebKitLoadSiteIconsKey
     269BUGWK85171 : http/tests/misc/favicon-loads-with-icon-loading-override.html = TEXT
     270
    265271// IETC flexbox failures
    266272BUGWK85211 : ietestcenter/css3/flexbox/flexbox-align-stretch-001.htm = IMAGE
  • trunk/Tools/ChangeLog

    r116064 r116071  
     12012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [EFL] DRT should support LayoutTestController's willSendRequestReturnsNullOnRedirect()
     4        https://bugs.webkit.org/show_bug.cgi?id=82704
     5
     6        Reviewed by Antonio Gomes.
     7
     8        EFL's DRT needs to obey LayoutTestController's
     9        willSendRequestReturnsNullOnRedirect().
     10
     11        * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
     12        (DumpRenderTreeChrome::onWillSendRequest):
     13
    1142012-05-03  Raphael Kubo da Costa  <rakuco@webkit.org>
    215
  • trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp

    r115843 r116071  
    433433    if (!done && gLayoutTestController->dumpResourceLoadCallbacks())
    434434        printf("%s - willSendRequest %s redirectResponse %s\n",
    435                pathSuitableForTestResult(messages->request->url).data(),
     435               m_dumpAssignedUrls.contains(messages->request->identifier) ? m_dumpAssignedUrls.get(messages->request->identifier).data() : "<unknown>",
    436436               descriptionSuitableForTestResult(messages->request).data(),
    437437               descriptionSuitableForTestResult(messages->redirect_response).data());
     
    439439    if (!done && gLayoutTestController->willSendRequestReturnsNull()) {
    440440        // As requested by the LayoutTestController, don't perform the request.
     441        messages->request->url = 0;
     442        return;
     443    }
     444
     445    if (!done && gLayoutTestController->willSendRequestReturnsNullOnRedirect() && messages->redirect_response) {
     446        printf("Returning null for this redirect\n");
    441447        messages->request->url = 0;
    442448        return;
Note: See TracChangeset for help on using the changeset viewer.