Skip to content
  • commit-queue@webkit.org's avatar
    [EFL] DRT should support LayoutTestController's dumpFrameLoadCallbacks() · d25d40ba
    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:
    
    Implement support for LayoutTestController's dumpFrameLoadCallbacks()
    in EFL's DumpRenderTree. We no longer emit the "load,finished" signal
    from postProgressFinishedNotification() since it is already emitted
    from dispatchDidFinishLoad(). This avoids unwanted extra signals we
    prevent some tests from passing (e.g.
    http/tests/security/mixedContent/about-blank-iframe-in-main-frame.html).
    
    * WebCoreSupport/FrameLoaderClientEfl.cpp:
    (WebCore::FrameLoaderClientEfl::postProgressFinishedNotification):
    (WebCore::FrameLoaderClientEfl::dispatchDidFinishLoad):
    (WebCore::FrameLoaderClientEfl::dispatchDidHandleOnloadEvents):
    (WebCore::FrameLoaderClientEfl::dispatchDidCommitLoad):
    (WebCore::FrameLoaderClientEfl::dispatchDidFailLoad):
    * WebCoreSupport/FrameLoaderClientEfl.h:
    (FrameLoaderClientEfl):
    * ewk/ewk_frame.cpp:
    (ewk_frame_load_committed):
    * ewk/ewk_frame.h:
    * ewk/ewk_private.h:
    * ewk/ewk_view.cpp:
    (_Ewk_View_Private_Data):
    (ewk_view_onload_event):
    * ewk/ewk_view.h:
    
    Tools:
    
    Implement support for LayoutTestController's dumpFrameLoadCallbacks()
    in EFL's DumpRenderTree.
    
    * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
    (DumpRenderTreeChrome::createView):
    (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@114376 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    d25d40ba