Unreviewed, could've sworn this was in the previous patch ...

* platform/chromium-win-xp/fast/hidpi/gradient-with-scaled-ancestor-expected.png: Removed.
* platform/chromium-win/fast/hidpi/gradient-with-scaled-ancestor-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Refactor picker tests to fix flakiness and share code
https://bugs.webkit.org/show_bug.cgi?id=99671

Reviewed by Kent Tamura.

Source/WebCore:

Disable transitions until the picker is fully ready. This should fix flakiness.

No new tests.

* Resources/pagepopups/calendarPicker.css:
(.preparing .unavailable): Disable transitions.
(.preparing .available): Disable transitions.
* Resources/pagepopups/calendarPicker.js:
(CalendarPicker): Set "preparing" class.
(CalendarPicker.prototype._handleWindowResize): Remove the "preparing" class when the window finishes resizing.

LayoutTests:

Refactored so picker tests share code and structure.

* fast/forms/resources/picker-common.js: Shared by all picker tests. Requires js-test-pre.js. Sets up an asynchronous test.
(openPicker): Opens the picker for the given input and calls the callback when the picker did open.
(popupOpenCallbackWrapper):
(sendKey):
* platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.png:
* platform/chromium-mac/platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.png:
* platform/chromium/TestExpectations: Marked all tests as not flaky. Marked all pixel tests as need rebaseline.
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance-step.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-appearance.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-key-operations.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-mouse-operations.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-pre-100-year.html:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-with-step-expected.txt:
* platform/chromium/fast/forms/calendar-picker/calendar-picker-with-step.html:
* platform/chromium/fast/forms/calendar-picker/resources/calendar-picker-common.js:
* platform/chromium/fast/forms/color/color-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-one-row-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-two-row-appearance.html:
* platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance-expected.txt:
* platform/chromium/fast/forms/color/color-suggestion-picker-with-scrollbar-appearance.html:
* platform/chromium/fast/forms/page-popup/page-popup-adjust-rect.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-rtl.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance-with-scroll-bar.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-key-operations-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-key-operations.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-min-max-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-mouse-operations.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-reset-value-after-reload.html:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/date-suggestion-picker-step-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/resources/suggestion-picker-common.js: Moved to resource directory like all other js files.
(valueForEntry):
(highlightedEntry):
(entryValues):
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-rtl.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar-expected.txt:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance-with-scroll-bar.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-appearance.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-key-operations.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-min-max-attribute.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-mouse-operations.html:
* platform/chromium/fast/forms/suggestion-picker/time-suggestion-picker-step-attribute.html:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[chromium] introduce a public API for the TestRunner library
https://bugs.webkit.org/show_bug.cgi?id=99904

Reviewed by Adam Barth.

The API decouples the public API from the underlying implementation, so
embedders can depend on it. I'm also changing DRT to consume the
TestRunner API through the public API, except for DRTTestRunner and all
places that require Task.h. These two will be migrated in later changes.

* DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp:
* DumpRenderTree/DumpRenderTree.gypi:
* DumpRenderTree/chromium/DRTDevToolsAgent.h:
* DumpRenderTree/chromium/DRTDevToolsClient.h:
* DumpRenderTree/chromium/MockSpellCheck.cpp:
(MockSpellCheck::fillSuggestionList):
* DumpRenderTree/chromium/MockSpellCheck.h:
(MockSpellCheck):
* DumpRenderTree/chromium/MockWebRTCPeerConnectionHandler.h:
* DumpRenderTree/chromium/MockWebSpeechInputController.h:
* DumpRenderTree/chromium/MockWebSpeechRecognizer.h:
* DumpRenderTree/chromium/TestRunner/public/WebAccessibilityController.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebAccessibilityController):
* DumpRenderTree/chromium/TestRunner/public/WebEventSender.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebEventSender):
* DumpRenderTree/chromium/TestRunner/public/WebTestDelegate.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebKit):
(WebTestRunner):
(WebTestDelegate):
* DumpRenderTree/chromium/TestRunner/public/WebTestInterfaces.h: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h.
(WebKit):
(WebTestRunner):
(WebTestInterfaces):
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.cpp:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/AccessibilityControllerChromium.h:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/EventSender.cpp:
(WebTestRunner):
(WebTestRunner::makeMenuItemStringsFor):
* DumpRenderTree/chromium/TestRunner/src/EventSender.h:
(WebTestRunner):
* DumpRenderTree/chromium/TestRunner/src/TestDelegate.h:
(TestDelegate):
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.cpp:
* DumpRenderTree/chromium/TestRunner/src/TestInterfaces.h:
(TestInterfaces):
* DumpRenderTree/chromium/TestRunner/src/WebAccessibilityController.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebTestRunner):
(WebTestRunner::WebAccessibilityController::WebAccessibilityController):
(WebTestRunner::WebAccessibilityController::setFocusedElement):
(WebTestRunner::WebAccessibilityController::notificationReceived):
(WebTestRunner::WebAccessibilityController::shouldLogAccessibilityEvents):
* DumpRenderTree/chromium/TestRunner/src/WebEventSender.cpp: Copied from Tools/DumpRenderTree/chromium/TestRunner/src/TestDelegate.h.
(WebTestRunner):
(WebTestRunner::WebEventSender::WebEventSender):
(WebTestRunner::WebEventSender::doDragDrop):
* DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp: Added.
(WebTestRunner):
(WebTestInterfaces::Internal):
(WebTestRunner::WebTestInterfaces::Internal::testInterfaces):
(WebTestRunner::WebTestInterfaces::Internal::accessibilityController):
(WebTestRunner::WebTestInterfaces::Internal::eventSender):
(WebTestRunner::WebTestInterfaces::Internal::Internal):
(WebTestRunner::WebTestInterfaces::Internal::~Internal):
(WebTestRunner::WebTestInterfaces::Internal::setDelegate):
(WebTestRunner::WebTestInterfaces::Internal::clearContextMenuData):
(WebTestRunner::WebTestInterfaces::Internal::clearEditCommand):
(WebTestRunner::WebTestInterfaces::Internal::fillSpellingSuggestionList):
(WebTestRunner::WebTestInterfaces::Internal::setEditCommand):
(WebTestRunner::WebTestInterfaces::Internal::lastContextMenuData):
(WebTestRunner::WebTestInterfaces::Internal::setGamepadData):
(WebTestRunner::WebTestInterfaces::WebTestInterfaces):
(WebTestRunner::WebTestInterfaces::~WebTestInterfaces):
(WebTestRunner::WebTestInterfaces::setWebView):
(WebTestRunner::WebTestInterfaces::setDelegate):
(WebTestRunner::WebTestInterfaces::bindTo):
(WebTestRunner::WebTestInterfaces::resetAll):
(WebTestRunner::WebTestInterfaces::accessibilityController):
(WebTestRunner::WebTestInterfaces::eventSender):
* DumpRenderTree/chromium/TestShell.cpp:
(TestShell::initialize):
* DumpRenderTree/chromium/TestShell.h:
(TestShell::eventSender):
(TestShell::accessibilityController):
(TestShell):
* DumpRenderTree/chromium/WebUserMediaClientMock.h:
* DumpRenderTree/chromium/WebViewHost.cpp:
(WebViewHost::finishLastTextCheck):
(WebViewHost::fillSpellingSuggestionList):
* DumpRenderTree/chromium/WebViewHost.h:
(WebViewHost):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132029 268f45cc-cd09-0410-ab3c-d52691b4dbfc