Changeset 116073 in webkit


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

[EFL] DRT should obey layoutTestController's addURLToRedirect()
https://bugs.webkit.org/show_bug.cgi?id=82722

Patch by Christophe Dumez <Christophe Dumez> on 2012-05-03
Reviewed by Maciej Stachowiak.

Tools:

Implement support for layoutTestController's addURLToRedirect()
in EFL's DRT so that it redirects properly when indicated.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::onWillSendRequest):

LayoutTests:

Unskip http/tests/loading/cross-origin-XHR-willLoadRequest.html now
that EFL's DRT obeys layoutTestController's addURLToRedirect().

  • platform/efl/Skipped:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r116072 r116073  
     12012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [EFL] DRT should obey layoutTestController's addURLToRedirect()
     4        https://bugs.webkit.org/show_bug.cgi?id=82722
     5
     6        Reviewed by Maciej Stachowiak.
     7
     8        Unskip http/tests/loading/cross-origin-XHR-willLoadRequest.html now
     9        that EFL's DRT obeys layoutTestController's addURLToRedirect().
     10
     11        * platform/efl/Skipped:
     12
    1132012-05-03  Ilya Sherman  <isherman@chromium.org>
    214
  • trunk/LayoutTests/platform/efl/Skipped

    r116071 r116073  
    575575# BUG: Captions support needed in the media engine (via GTK+)
    576576media/media-captions.html
    577 
    578 # BUG: DRT does not obey layoutTestController.addURLToRedirect()
    579 http/tests/loading/cross-origin-XHR-willLoadRequest.html
    580577
    581578# BUG: Requires willPerformClientRedirectToURL
  • trunk/Tools/ChangeLog

    r116071 r116073  
     12012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
     2
     3        [EFL] DRT should obey layoutTestController's addURLToRedirect()
     4        https://bugs.webkit.org/show_bug.cgi?id=82722
     5
     6        Reviewed by Maciej Stachowiak.
     7
     8        Implement support for layoutTestController's addURLToRedirect()
     9        in EFL's DRT so that it redirects properly when indicated.
     10
     11        * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
     12        (DumpRenderTreeChrome::onWillSendRequest):
     13
    1142012-05-03  Christophe Dumez  <christophe.dumez@intel.com>
    215
  • trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp

    r116071 r116073  
    458458        printf("Blocked access to external URL %s\n", messages->request->url);
    459459        messages->request->url = 0;
    460     }
     460        return;
     461    }
     462
     463    const std::string& destination = gLayoutTestController->redirectionDestinationForURL(url.string().utf8().data());
     464    if (destination.length())
     465        messages->request->url = strdup(destination.c_str());
    461466}
    462467
Note: See TracChangeset for help on using the changeset viewer.