Changeset 83137 in webkit
- Timestamp:
- Apr 6, 2011 8:49:53 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r83136 r83137 1 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests 6 https://bugs.webkit.org/show_bug.cgi?id=56086 7 8 * platform/qt/Skipped: Remove the skipped test which required numberOfPendingGeolocationPermissionRequests. 9 1 10 2011-04-06 Kent Tamura <tkent@chromium.org> 2 11 -
trunk/LayoutTests/platform/qt/Skipped
r83100 r83137 3198 3198 fast/dom/Geolocation/window-close-crash.html 3199 3199 3200 # [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests3201 # https://bugs.webkit.org/show_bug.cgi?id=560863202 fast/dom/Geolocation/page-reload-cancel-permission-requests.html3203 3204 3200 # [Qt] Two http auth tests fail with Qt 4.7.2 3205 3201 # https://bugs.webkit.org/show_bug.cgi?id=55767 -
trunk/Source/WebKit/qt/ChangeLog
r83125 r83137 1 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests 6 https://bugs.webkit.org/show_bug.cgi?id=56086 7 8 Add the accessor numberOfPendingGeolocationPermissionRequests to call GeolocationClientMock::numberOfPendingPermissionRequests() 9 from the LayoutTestController. 10 11 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: 12 (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests): 13 * WebCoreSupport/DumpRenderTreeSupportQt.h: 14 1 15 2011-04-06 Anders Bakken <agbakken@gmail.com> 2 16 -
trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.cpp
r83108 r83137 823 823 } 824 824 825 int DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests(QWebPage* page) 826 { 827 #if ENABLE(CLIENT_BASED_GEOLOCATION) 828 Page* corePage = QWebPagePrivate::core(page); 829 GeolocationClientMock* mockClient = toGeolocationClientMock(corePage->geolocationController()->client()); 830 return mockClient->numberOfPendingPermissionRequests(); 831 #else 832 return -1; 833 #endif 834 } 835 825 836 bool DumpRenderTreeSupportQt::isTargetItem(const QWebHistoryItem& historyItem) 826 837 { -
trunk/Source/WebKit/qt/WebCoreSupport/DumpRenderTreeSupportQt.h
r82489 r83137 148 148 static void setMockGeolocationPosition(QWebPage*, double latitude, double longitude, double accuracy); 149 149 static void setMockGeolocationError(QWebPage*, int errorCode, const QString& message); 150 static int numberOfPendingGeolocationPermissionRequests(QWebPage*); 150 151 151 152 static int workerThreadCount(); -
trunk/Tools/ChangeLog
r83133 r83137 1 2011-04-06 Benjamin Poulain <benjamin.poulain@nokia.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 [Qt] LayoutTestController needs to implement numberOfPendingGeolocationPermissionRequests 6 https://bugs.webkit.org/show_bug.cgi?id=56086 7 8 Add the missing method. 9 10 * DumpRenderTree/qt/DumpRenderTreeQt.cpp: 11 (WebCore::DumpRenderTree::getAllPages): Add a method to return all the pages allocated for the current test. 12 * DumpRenderTree/qt/DumpRenderTreeQt.h: 13 * DumpRenderTree/qt/LayoutTestControllerQt.cpp: 14 (LayoutTestController::numberOfPendingGeolocationPermissionRequests): 15 1 16 2011-04-06 Dai Mikurube <dmikurube@chromium.org> 2 17 -
trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.cpp
r82489 r83137 1137 1137 } 1138 1138 1139 QList<WebPage*> DumpRenderTree::getAllPages() const 1140 { 1141 QList<WebPage*> pages; 1142 pages.append(m_page); 1143 foreach (QObject* widget, windows) { 1144 if (WebPage* page = widget->findChild<WebPage*>()) 1145 pages.append(page); 1146 } 1147 return pages; 1148 } 1149 1139 1150 #if defined(Q_WS_X11) 1140 1151 void DumpRenderTree::initializeFonts() -
trunk/Tools/DumpRenderTree/qt/DumpRenderTreeQt.h
r82489 r83137 101 101 102 102 WebPage *webPage() const { return m_page; } 103 QList<WebPage*> getAllPages() const; 103 104 104 105 #if defined(Q_WS_X11) -
trunk/Tools/DumpRenderTree/qt/LayoutTestControllerQt.cpp
r82489 r83137 783 783 int LayoutTestController::numberOfPendingGeolocationPermissionRequests() 784 784 { 785 // FIXME: Implement for Geolocation layout tests. 786 return -1; 785 int pendingPermissionCount = 0; 786 QList<WebCore::WebPage*> pages = m_drt->getAllPages(); 787 foreach (WebCore::WebPage* page, pages) 788 pendingPermissionCount += DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests(page); 789 790 return pendingPermissionCount; 787 791 } 788 792
Note: See TracChangeset
for help on using the changeset viewer.