Changeset 53895 in webkit
- Timestamp:
- Jan 26, 2010 9:21:11 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r53893 r53895 1 2010-01-26 Diego Gonzalez <diego.gonzalez@openbossa.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] DRT WebHistory support 6 https://bugs.webkit.org/show_bug.cgi?id=34167 7 8 * platform/qt/Skipped: 9 1 10 2010-01-26 Kent Tamura <tkent@chromium.org> 2 11 -
trunk/LayoutTests/platform/qt/Skipped
r53810 r53895 19 19 http/tests/webarchive 20 20 http/tests/globalhistory 21 http/tests/history22 21 http/tests/incremental 23 22 http/tests/media -
trunk/WebKitTools/ChangeLog
r53889 r53895 1 2010-01-26 Diego Gonzalez <diego.gonzalez@openbossa.org> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] DRT WebHistory support 6 https://bugs.webkit.org/show_bug.cgi?id=34167 7 8 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 9 (LayoutTestController::reset): 10 (LayoutTestController::webHistoryItemCount): 11 (LayoutTestController::keepWebHistory): 12 * DumpRenderTree/qt/LayoutTestControllerQt.h: 13 1 14 2010-01-26 Kent Tamura <tkent@chromium.org> 2 15 -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r53770 r53895 72 72 m_waitForPolicy = false; 73 73 m_handleErrorPages = false; 74 m_webHistory = 0; 74 75 qt_dump_editing_callbacks(false); 75 76 qt_dump_resource_load_callbacks(false); … … 132 133 } 133 134 135 int LayoutTestController::webHistoryItemCount() 136 { 137 if (!m_webHistory) 138 return -1; 139 140 // Subtract one here as our QWebHistory::count() includes the actual page, 141 // which is not considered in the DRT tests. 142 return m_webHistory->count() - 1; 143 } 144 134 145 void LayoutTestController::keepWebHistory() 135 146 { 136 // FIXME: implement147 m_webHistory = m_drt->webPage()->history(); 137 148 } 138 149 -
trunk/WebKitTools/DumpRenderTree/qt/LayoutTestControllerQt.h
r53635 r53895 52 52 class LayoutTestController : public QObject { 53 53 Q_OBJECT 54 Q_PROPERTY(int webHistoryItemCount READ webHistoryItemCount) 54 55 public: 55 56 LayoutTestController(WebCore::DumpRenderTree* drt); … … 83 84 void waitUntilDone(); 84 85 QString counterValueForElementById(const QString& id); 86 int webHistoryItemCount(); 85 87 void keepWebHistory(); 86 88 void notifyDone(); … … 159 161 QWebFrame* m_topLoadingFrame; 160 162 WebCore::DumpRenderTree* m_drt; 163 QWebHistory* m_webHistory; 161 164 }; 162 165
Note: See TracChangeset
for help on using the changeset viewer.