diff options
Diffstat (limited to 'Tools/ChangeLog')
| -rw-r--r-- | Tools/ChangeLog | 274 |
1 files changed, 274 insertions, 0 deletions
diff --git a/Tools/ChangeLog b/Tools/ChangeLog index fbacc95f3..59f37ca69 100644 --- a/Tools/ChangeLog +++ b/Tools/ChangeLog @@ -1,3 +1,277 @@ +2012-11-23 Sudarsana Nagineni <sudarsana.nagineni@intel.com> + + [EFL][WK2] Add support for PlatformWebView::simulateSpacebarKeyPress() in TestWebKitAPI + https://bugs.webkit.org/show_bug.cgi?id=103123 + + Reviewed by Kenneth Rohde Christiansen. + + Add support for PlatformWebView::simulateSpacebarKeyPress() and enable + WebKit2 API test ResponsivenessTimerDoesntFireEarly. + + * TestWebKitAPI/PlatformEfl.cmake: Enable ResponsivenessTimerDoesntFireEarly + test. + * TestWebKitAPI/efl/PlatformUtilities.cpp: + (TestWebKitAPI::Util::sleep): Use usleep() instead of sleep since the + test case is passing 0.5 seconds to sleep. + * TestWebKitAPI/efl/PlatformWebView.cpp: + (TestWebKitAPI::PlatformWebView::simulateSpacebarKeyPress): Implemented. + (TestWebKitAPI): + +2012-11-23 Wojciech Bielawski <w.bielawski@samsung.com> + + [WK2][WKTR] WebKitTestRunner needs eventSender.contextClick() + https://bugs.webkit.org/show_bug.cgi?id=86881 + + Reviewed by Kenneth Rohde Christiansen. + + eventSender object extended with contextClick() method in WebKitTestRunner. + contextClick() method returns an array of menu items objects with field 'title' containing title of single + context menu entry. According to some tests menu items objects shall also support 'click()' method, but it's not + delivered in this patch. + + * WebKitTestRunner/InjectedBundle/Bindings/EventSendingController.idl: + * WebKitTestRunner/InjectedBundle/EventSendingController.cpp: + (WTR::EventSendingController::contextClick): + (WTR): + * WebKitTestRunner/InjectedBundle/EventSendingController.h: + (EventSendingController): + +2012-11-23 Simon Hausmann <simon.hausmann@digia.com> + + [Qt] Compiling against QtWebkit API requires QT_DLL to be defined + https://bugs.webkit.org/show_bug.cgi?id=102942 + + Reviewed by Tor Arne Vestbø. + + Remove the requirement of having QT_DLL defined in order for the QWEBKIT_EXPORT + macro to be defined as Q_DECL_IMPORT. Instead unify the export macro definition + to follow the same rules as other Qt 5 modules, with the exception that instead of + QT_BUILD_WEBKIT_LIB we continue to use BUILDING_WEBKIT, because that's used also + in other cross-platform header files to determine the correct meaning of export + macros. + + * qmake/mkspecs/features/default_post.prf: + * qmake/mkspecs/features/win32/default_post.prf: + +2012-11-23 Simon Hausmann <simon.hausmann@digia.com> + + [Qt] QWebPage::shouldInterruptJavaScript should be virtual in Qt 5 + https://bugs.webkit.org/show_bug.cgi?id=103111 + + Reviewed by Kenneth Rohde Christiansen. + + This function was added as a slot during Qt 4.x times because adding + virtual functions breaks binary compatibility. This constraint is gone + with the initial release of WebKit with Qt 5, and therefore we can + make it virtual now. + + The change is fully source compatible as existing "re-implementations" + as slots will now be called through it being a virtual function. They + become unused slots. + + * DumpRenderTree/qt/DumpRenderTreeQt.h: + (WebCore::WebPage::shouldInterruptJavaScript): + (WebPage): + * QtTestBrowser/webpage.h: + (WebPage): + +2012-11-22 Peter Beverloo <peter@chromium.org> + + [Chromium] Return an accurate exit code when running Android suites, and wait after restarting adb as root + https://bugs.webkit.org/show_bug.cgi?id=103065 + + Reviewed by Dirk Pranke. + + This addresses two further reliability issues in the Android test running + scripts. Firstly, the run_tests.py script needs to have the --exit_code + argument passed in order to return non-zero codes, which we need for the + build master to distinguish failures from successful runs. + + Secondly, it modifies the layout test runner to briefly wait (through + the wait-for-device command) after requesting a device to switch to root + mode. Without this waiting period, commands might get lost and thereby + unexpectedly fail. + + * Scripts/run-api-tests: + * Scripts/run-chromium-webkit-unit-tests: + * Scripts/webkitpy/layout_tests/port/chromium_android.py: + (ChromiumAndroidDriver._setup_test): + (ChromiumAndroidDriver._restart_adb_as_root): + +2012-11-22 Simon Hausmann <simon.hausmann@digia.com>, Pierre Rossi <pierre.rossi@digia.com> + + [Qt] Separate QWidget dependant code into separate WebKitWidgets static library + https://bugs.webkit.org/show_bug.cgi?id=102800 + + Reviewed by Tor Arne Vestbø. + + This patch separates code that needs to use QWidget related APIs in + WebKit/qt/WebCoreSupport and Api from code that doesn't. This means for + example FrameLoaderClientQt.cpp remains in the WebKit1 static library, + while qwebpage.cpp and qwebframe.cpp become part of the WebKitWidgets + static library. WebKit1 is compiled without QT += widgets and therefore + any widget related dependency has been moved "up" and out of WebKit1 into + the WebKitWidgets library. + + Between the code in WebKit.a and WebKitWidgets.a new adapters and + interfaces have been introduced, such as QWebPageAdapter and + QWebFrameAdapter. QWebPageAdapter, when used from WebKit1, is a way to + call out into the API layer, implemented by QWebPage (QWebPagePrivate). + The other way around if QWebPage wants to access WebCore or + WebCoreSupport related functionality, it will go through + QWebPageAdapater (as base class). The separation in the direction up + into the API layer is complete with this patch, no code in WebKit1 + depends on QtWidgets. The separation the other way around, code in the + API layer not using any WebCore types, is not complete yet. + + Some classes such as QWebSettings, QWebElement or + DumpRenderTreeSupportQt remain in WebKit1. While they are API layer, + they do not depend on widget related Qt APIs and they make much more + use of WebCore internal APIs and therefore are easier to keep in + WebKit1. + + In the future we plan to place a real shared library boundary between + WebKit1 and WebKitWidgets, by keeping the WebKit1 static library as + part of the QtWebKit shared library and by turning the WebKitWidgets + static library into a shared one. + + * DumpRenderTree/qt/DumpRenderTreeQt.cpp: + (WebCore::WebPage::resetSettings): + (WebCore::WebPage::createWindow): + (WebCore::DumpRenderTree::DumpRenderTree): + (WebCore::DumpRenderTree::resetToConsistentStateBeforeTesting): + (WebCore::DumpRenderTree::initJSObjects): + (WebCore::DumpRenderTree::dumpFrameScrollPosition): + (WebCore::DumpRenderTree::dumpFramesAsText): + (WebCore::DumpRenderTree::dump): + (WebCore::DumpRenderTree::createWindow): + (WebCore::DumpRenderTree::pageAdapter): + (WebCore): + (WebCore::DumpRenderTree::mainFrameAdapter): + * DumpRenderTree/qt/DumpRenderTreeQt.h: + (DumpRenderTree): + * DumpRenderTree/qt/EventSenderQt.cpp: + (EventSender::contextClick): + (EventSender::scalePageBy): + * DumpRenderTree/qt/TestRunnerQt.cpp: + (TestRunner::reset): + (TestRunner::display): + (TestRunner::closeWebInspector): + (TestRunner::showWebInspector): + (TestRunner::evaluateInWebInspector): + (TestRunner::setFrameFlatteningEnabled): + (TestRunner::goBack): + (TestRunner::setDefersLoading): + (TestRunner::pauseAnimationAtTimeOnElementWithId): + (TestRunner::pauseTransitionAtTimeOnElementWithId): + (TestRunner::numberOfActiveAnimations): + (TestRunner::setCaretBrowsingEnabled): + (TestRunner::setAuthorAndUserStylesEnabled): + (TestRunner::callShouldCloseOnWebView): + (TestRunner::setSmartInsertDeleteEnabled): + (TestRunner::setSelectTrailingWhitespaceEnabled): + (TestRunner::execCommand): + (TestRunner::isCommandEnabled): + (TestRunner::findString): + (TestRunner::elementDoesAutoCompleteForElementWithId): + (TestRunner::setMockDeviceOrientation): + (TestRunner::setGeolocationPermission): + (TestRunner::numberOfPendingGeolocationPermissionRequests): + (TestRunner::setMockGeolocationPositionUnavailableError): + (TestRunner::setMockGeolocationPosition): + (TestRunner::evaluateScriptInIsolatedWorld): + (TestRunner::addUserStyleSheet): + (TestRunner::setMinimumTimerInterval): + * DumpRenderTree/qt/TextInputControllerQt.cpp: + (TextInputController::selectedRange): + (TextInputController::firstRectForCharacterRange): + (TextInputController::unmarkText): + * DumpRenderTree/qt/WorkQueueItemQt.cpp: + (LoadAlternateHTMLStringItem::invoke): + * qmake/mkspecs/features/default_post.prf: + * qmake/mkspecs/features/production_build.prf: + * qmake/mkspecs/features/webkit_modules.prf: + * qmake/mkspecs/modules/webkitwidgets.prf: Added. + +2012-11-22 Christophe Dumez <christophe.dumez@intel.com> + + WebKitTestRunner needs layoutTestController.setCacheModel + https://bugs.webkit.org/show_bug.cgi?id=42684 + + Reviewed by Kenneth Rohde Christiansen. + + Add support for testRunner.setCacheModel to WebKitTestRunner. + + * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl: + * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: + (WTR::InjectedBundle::beginTesting): + * WebKitTestRunner/InjectedBundle/TestRunner.cpp: + (WTR::TestRunner::setCacheModel): + (WTR): + * WebKitTestRunner/InjectedBundle/TestRunner.h: + (TestRunner): + +2012-11-22 Balazs Kelemen <kbalazs@webkit.org> + + [Qt][WTR] TestController::platformRunUntil should not do busy waiting + https://bugs.webkit.org/show_bug.cgi?id=101327 + + Reviewed by Simon Hausmann. + + Avoid busy waiting for events in platformRunUntil while making + sure we don't change the behavior of modal event loops. + + * WebKitTestRunner/TestController.cpp: + (WTR::TestController::~TestController): + * WebKitTestRunner/TestController.h: + (TestController): + * WebKitTestRunner/efl/TestControllerEfl.cpp: + (WTR::TestController::platformDestroy): + (WTR): + * WebKitTestRunner/gtk/TestControllerGtk.cpp: + (WTR::TestController::platformDestroy): + (WTR): + * WebKitTestRunner/mac/TestControllerMac.mm: + (WTR::TestController::platformDestroy): + (WTR): + * WebKitTestRunner/qt/TestControllerQt.cpp: + (TestController::RunLoop): Helper class to handle + the event loop logic + (WTR): + (WTR::TestController::RunLoop::RunLoop): + (WTR::TestController::RunLoop::runUntil): Use QEventLoop to implement + the run loop. This is the appropriate API to push the WaitForMoreEvents + flag to QCoreApplication::processEvents and also being able to exit the + loop if we have timed out. + (WTR::TestController::RunLoop::notifyDone): + (WTR::TestController::RunLoop::timerFired): + (WTR::TestController::RunLoop::runModal): + (WTR::TestController::notifyDone): + (WTR::TestController::platformInitialize): + (WTR::TestController::platformDestroy): + (WTR::TestController::platformRunUntil): + (WTR::TestController::runModal): + * WebKitTestRunner/win/TestControllerWin.cpp: + (WTR::TestController::platformDestroy): + (WTR): + +2012-11-22 Sudarsana Nagineni <sudarsana.nagineni@intel.com> + + [EFL][WK2] Enable WKPreferences and AboutBlankLoad API tests + https://bugs.webkit.org/show_bug.cgi?id=102926 + + Reviewed by Kenneth Rohde Christiansen. + + Add missing bits needed by WKPreferences and AboutBlankLoad API + tests in the test harness and enable these tests on EFL port. + + * TestWebKitAPI/PlatformEfl.cmake: + * TestWebKitAPI/Tests/WebKit2/WKPreferences.cpp: + (TestWebKitAPI::TEST): + * TestWebKitAPI/efl/PlatformUtilities.cpp: + (TestWebKitAPI::Util::MIMETypeForWKURLResponse): + (Util): + 2012-11-21 Zan Dobersek <zandobersek@gmail.com> [GTK][WTR] Implement AccessibilityUIElement::stringValue |
