Skip to content
  • commit-queue@webkit.org's avatar
    [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() · 91cbe8fe
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=83030
    
    Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-04-17
    Reviewed by Antonio Gomes.
    
    Source/WebKit/efl:
    
    Emit "load,started" and "onload,event" signals needed to support
    LayoutTestController's dumpFrameLoadCallbacks() in EFL's DumpRenderTree.
    
    * WebCoreSupport/FrameLoaderClientEfl.cpp:
    (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
    (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
    (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
    * ewk/ewk_frame.cpp:
    (ewk_frame_load_committed):
    (ewk_frame_load_started):
    * ewk/ewk_frame.h:
    * ewk/ewk_private.h:
    * ewk/ewk_view.cpp:
    (_Ewk_View_Private_Data):
    (ewk_view_load_started):
    (ewk_view_onload_event):
    * ewk/ewk_view.h:
    
    Tools:
    
    Implement support for LayoutTestController's dumpFrameLoadCallbacks()
    in EFL's DumpRenderTree. Make use of the new frame argument passed to
    the "load,started" and "load,finished" signals.
    
    * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
    (DumpRenderTreeChrome::createView):
    (DumpRenderTreeChrome::onLoadStarted):
    (DumpRenderTreeChrome::processWork):
    (DumpRenderTreeChrome::topLoadingFrameLoadFinished):
    (DumpRenderTreeChrome::onWebViewOnloadEvent):
    (DumpRenderTreeChrome::onInsecureContentRun):
    (DumpRenderTreeChrome::onInsecureContentDisplayed):
    (DumpRenderTreeChrome::onFrameCreated):
    (DumpRenderTreeChrome::onFrameProvisionalLoad):
    (DumpRenderTreeChrome::onFrameLoadCommitted):
    (DumpRenderTreeChrome::onFrameLoadFinished):
    (DumpRenderTreeChrome::onFrameLoadError):
    * DumpRenderTree/efl/DumpRenderTreeChrome.h:
    (DumpRenderTreeChrome):
    
    LayoutTests:
    
    Unskip the test cases in EFL which needed dumpFrameLoadCallbacks()
    support in the DumpRenderTree now that it is implemented.
    
    * platform/efl/Skipped:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114386 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    91cbe8fe