Changeset 95767 in webkit
- Timestamp:
- Sep 22, 2011 5:43:07 PM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r95766 r95767 1 2011-09-22 Raphael Kubo da Costa <kubo@profusion.mobi> 2 3 [EFL] Use ewk_view to navigate in history instead of ewk_history. 4 https://bugs.webkit.org/show_bug.cgi?id=68455 5 6 Reviewed by Antonio Gomes. 7 8 BackForwardItem::invoke() was using ewk_history functions to navigate 9 in history; however, this will only call WebCore::BackForwardListImpl 10 and not move between pages at all. We now call ewk_view_navigate and 11 its siblings to make sure the navigation actually happens. 12 13 This should make tests like fast/dom/navigation-type-back-forward.html 14 stop timing out. 15 16 * DumpRenderTree/efl/WorkQueueItemEfl.cpp: 17 (BackForwardItem::invoke): 18 1 19 2011-09-22 Dean Jackson <dino@apple.com> 2 20 -
trunk/Tools/DumpRenderTree/efl/WorkQueueItemEfl.cpp
r91898 r95767 24 24 25 25 #include "DumpRenderTree.h" 26 #include "DumpRenderTreeChrome.h" 26 27 27 28 #include <EWebKit.h> … … 68 69 bool BackForwardItem::invoke() const 69 70 { 70 Ewk_History* history = ewk_view_history_get(browser);71 72 71 if (m_howFar == 1) 73 ewk_ history_forward(history);72 ewk_view_forward(browser->mainView()); 74 73 else if (m_howFar == -1) 75 ewk_history_back(history); 76 else { 77 const Ewk_History_Item* item = ewk_history_history_item_nth_get(history, m_howFar); 78 ewk_history_history_item_set(history, item); 79 } 74 ewk_view_back(browser->mainView()); 75 else 76 ewk_view_navigate(browser->mainView(), m_howFar); 80 77 81 78 return true;
Note: See TracChangeset
for help on using the changeset viewer.