Changeset 110700 in webkit


Ignore:
Timestamp:
Mar 14, 2012 8:15:34 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL] Implement LayoutTestController::clearBackForwardList
https://bugs.webkit.org/show_bug.cgi?id=80142

Tools:

Adding missing implementation clearBackForwardList to EFL's
LayoutTestController. This implementation allows us to unskip
tests connected with history.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-14
Reviewed by Antonio Gomes.

  • DumpRenderTree/efl/LayoutTestControllerEfl.cpp:

(LayoutTestController::clearBackForwardList): Implemented.

LayoutTests:

Unskip tests connected with clearBackForwardList.

Patch by Sudarsana Nagineni <sudarsana.nagineni@linux.intel.com> on 2012-03-14
Reviewed by Antonio Gomes.

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

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r110698 r110700  
     12012-03-14  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [EFL] Implement LayoutTestController::clearBackForwardList
     4        https://bugs.webkit.org/show_bug.cgi?id=80142
     5
     6        Unskip tests connected with clearBackForwardList.
     7
     8        Reviewed by Antonio Gomes.
     9
     10        * platform/efl/Skipped:
     11
    1122012-03-14  Kentaro Hara  <haraken@chromium.org>
    213
  • trunk/LayoutTests/platform/efl/Skipped

    r110619 r110700  
    300300fast/dom/nodesFromRect-inner-documents.html
    301301fast/dom/nodesFromRect-links-and-text.html
    302 
    303 # EFL's LayoutTestController does not implement clearBackForwardList
    304 fast/dom/location-hash.html
    305 fast/events/backspace-navigates-back.html
    306 fast/history/form-submit-in-frame-via-onclick.html
    307 fast/history/form-submit-in-frame.html
    308 fast/history/gesture-before-onload-form-submit.html
    309 fast/history/gesture-before-onload-location-href.html
    310 fast/history/history-length.html
    311 fast/history/redirect-via-iframe.html
    312 fast/history/same-document-iframes-changing-fragment.html
    313 fast/history/same-document-iframes-changing-pushstate.html
    314 fast/loader/frame-location-change-not-added-to-history.html
    315 fast/loader/frame-src-change-not-added-to-history.html
    316 fast/loader/location-port.html
    317 fast/loader/stateobjects/document-destroyed-navigate-back-with-fragment-scroll.html
    318 fast/loader/stateobjects/document-destroyed-navigate-back.html
    319 fast/loader/stateobjects/popstate-after-load-complete-addeventlistener.html
    320 fast/loader/stateobjects/popstate-after-load-complete-body-attribute.html
    321 fast/loader/stateobjects/popstate-after-load-complete-body-inline-attribute.html
    322 fast/loader/stateobjects/popstate-after-load-complete-window-attribute.html
    323 fast/loader/stateobjects/pushstate-object-types.html
    324 fast/loader/stateobjects/pushstate-then-replacestate.html
    325 fast/loader/stateobjects/pushstate-with-fragment-urls-and-hashchange.html
    326 fast/loader/stateobjects/pushstate-within-popstate-handler-assert.html
    327 fast/loader/stateobjects/pushstate-without-history.html
    328 fast/loader/stateobjects/replacestate-then-pushstate.html
    329302
    330303# EFL's LayoutTestController does not implement copy{Encoded,Decoded}HostName
  • trunk/Tools/ChangeLog

    r110619 r110700  
     12012-03-14  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
     2
     3        [EFL] Implement LayoutTestController::clearBackForwardList
     4        https://bugs.webkit.org/show_bug.cgi?id=80142
     5
     6        Adding missing implementation clearBackForwardList to EFL's
     7        LayoutTestController. This implementation allows us to unskip
     8        tests connected with history.
     9
     10        Reviewed by Antonio Gomes.
     11
     12        * DumpRenderTree/efl/LayoutTestControllerEfl.cpp:
     13        (LayoutTestController::clearBackForwardList): Implemented.
     14
    1152012-03-13  Thiago Marcos P. Santos  <thiago.santos@intel.com>
    216
  • trunk/Tools/DumpRenderTree/efl/LayoutTestControllerEfl.cpp

    r110594 r110700  
    6666void LayoutTestController::clearBackForwardList()
    6767{
    68     notImplemented();
     68    Ewk_History* history = ewk_view_history_get(browser->mainView());
     69    if (!history)
     70        return;
     71
     72    Ewk_History_Item* item = ewk_history_history_item_current_get(history);
     73    ewk_history_clear(history);
     74    ewk_history_history_item_add(history, item);
     75    ewk_history_history_item_set(history, item);
     76    ewk_history_item_free(item);
    6977}
    7078
Note: See TracChangeset for help on using the changeset viewer.