2011-02-19 Charlie Reis Reviewed by Mihai Parparita. Ensure loading has stopped in HistoryController::goToItem https://bugs.webkit.org/show_bug.cgi?id=54517 Add a FrameLoaderClient callback for whether to stop loading before goToItem. Test: http/tests/navigation/forward-to-fragment-fires-onload.html * WebCoreSupport/FrameLoaderClientQt.cpp: (WebCore::FrameLoaderClientQt::shouldStopLoadingForHistoryItem): Added. * WebCoreSupport/FrameLoaderClientQt.h: 2011-02-18 Fabrizio Machado Reviewed by Eric Seidel. Remove reduntant checks. https://bugs.webkit.org/show_bug.cgi?id=54764 * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::elementDoesAutoCompleteForElementWithId): * WebCoreSupport/NotificationPresenterClientQt.cpp: (WebCore::NotificationPresenterClientQt::toPage): 2011-02-18 Csaba Osztrogonác Unreviewed. [Qt] Buildfix for platforms with geolocation disabled. * Api/qwebpage.cpp: Add the missing guard. 2011-02-18 Mahesh Kulkarni Reviewed by Kenneth Rohde Christiansen. [Qt] Implement client based geolocation for qtport https://bugs.webkit.org/show_bug.cgi?id=42629 Implements client based geolocation for qtwebkit. New client based geolocation contains permission API's as well, so removed the implementation from ChromeClientQt.cpp. * Api/qwebpage.cpp: (QWebPagePrivate::QWebPagePrivate): * WebCoreSupport/ChromeClientQt.cpp: * WebCoreSupport/ChromeClientQt.h: (WebCore::ChromeClientQt::requestGeolocationPermissionForFrame): (WebCore::ChromeClientQt::cancelGeolocationPermissionRequestForFrame): * WebCoreSupport/GeolocationClientQt.cpp: Added. (WebCore::GeolocationClientQt::GeolocationClientQt): (WebCore::GeolocationClientQt::~GeolocationClientQt): (WebCore::GeolocationClientQt::geolocationDestroyed): (WebCore::GeolocationClientQt::positionUpdated): (WebCore::GeolocationClientQt::startUpdating): (WebCore::GeolocationClientQt::stopUpdating): (WebCore::GeolocationClientQt::setEnableHighAccuracy): (WebCore::GeolocationClientQt::requestPermission): (WebCore::GeolocationClientQt::cancelPermissionRequest): * WebCoreSupport/GeolocationClientQt.h: Added. (WebCore::GeolocationClientQt::lastPosition): 2011-02-10 Luiz Agostini Reviewed by Adam Roben. HTML5
and : localized text https://bugs.webkit.org/show_bug.cgi?id=54260 The method defaultDetailsSummaryText was added to LocalizationStrategy class. It is used to provide the default label to be used by a
tag that has no child. * WebCoreSupport/WebPlatformStrategies.cpp: (WebPlatformStrategies::defaultDetailsSummaryText): * WebCoreSupport/WebPlatformStrategies.h: 2011-02-17 Hui Huang Reviewed by Laszlo Gombos. The URL of HTML5 Video Element is percent encoded at websites such as youtube. It is percent encoded again by QUrl constructor QUrl::QUrl(QString). This causes the HTTP GET request for the video to be rejected by the service provider. https://bugs.webkit.org/show_bug.cgi?id=53973. The bug is fixed by constructing QUrl from the encoded URL in MediaPlayerPrivateQt::commitLoad. New test function tst_QWebPage::loadHtml5Video() is added to load HTML content with HTML5 Video element. A new public method DumpRenderTreeSupportQt::mediaContentUrlByElementId is added to retrieve the URL of the media content from WebCore MediaPlayerPrivateQt. A new macro ENABLE_QT_MULTIMEDIA is introduced in tests.pri to make sure that the test is skipped if Qt Multimedia is not available. * WebCoreSupport/DumpRenderTreeSupportQt.cpp: (DumpRenderTreeSupportQt::mediaContentUrlByElementId): * WebCoreSupport/DumpRenderTreeSupportQt.h: * tests/qwebpage/tst_qwebpage.cpp: (tst_QWebPage::loadHtml5Video): * tests/tests.pri: 2011-02-17 Andreas Kling Reviewed by Antti Koivisto. [Qt] Crash when calling QWebFrame::setUrl() while a previous load has pending requests https://bugs.webkit.org/show_bug.cgi?id=49216 * tests/qwebframe/tst_qwebframe.cpp: == Rolled over to ChangeLog-2011-02-16 ==