[Qt][WK1] Support better testing of Web Notifications
https://bugs.webkit.org/show_bug.cgi?id=107696

Reviewed by Jocelyn Turcotte.

Source/WebKit/qt:

Implement support for the DRT to clear notification permissions.

* WebCoreSupport/DumpRenderTreeSupportQt.cpp:
(DumpRenderTreeSupportQt::clearNotificationPermissions):
* WebCoreSupport/DumpRenderTreeSupportQt.h:
* WebCoreSupport/NotificationPresenterClientQt.cpp:
(WebCore::NotificationPresenterClientQt::clearCachedPermissions):
(WebCore):
* WebCoreSupport/NotificationPresenterClientQt.h:
(NotificationPresenterClientQt):

Tools:

Do not dump notification output to the console by default, instead allow the
tests that need this feature to enable it.

Implement denyWebNotificationPermission and removeAllWebNotificationPermissions.
Remove unused m_desktopNotificationAllowedOrigins variable.

* DumpRenderTree/qt/TestRunnerQt.cpp:
(TestRunner::TestRunner):
(TestRunner::reset):
(TestRunner::dumpNotifications):
(TestRunner::grantWebNotificationPermission):
(TestRunner::denyWebNotificationPermission):
(TestRunner::removeAllWebNotificationPermissions):
* DumpRenderTree/qt/TestRunnerQt.h:
(TestRunner):

LayoutTests:

Unskip the now working tests in http/tests/notifications.
Skip four tests that still fail on WebKit1.
Update tests that need notifications dumped.

* fast/notifications/notifications-click-event.html:
* fast/notifications/notifications-display-close-events.html:
* fast/notifications/notifications-no-icon.html:
* fast/notifications/notifications-replace.html:
* fast/notifications/notifications-rtl.html:
* fast/notifications/notifications-with-permission.html:
* platform/qt-5.0-wk1/TestExpectations:
* platform/qt/TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141259 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Web Inspector: beautify file selector dialog to render as two rows
https://bugs.webkit.org/show_bug.cgi?id=108335

Reviewed by Vsevolod Vlasov.

Go-to-file is now rendered in two rows.

* inspector/front-end/FilteredItemSelectionDialog.js:
(WebInspector.FilteredItemSelectionDialog):
(WebInspector.FilteredItemSelectionDialog.prototype.focus):
(WebInspector.FilteredItemSelectionDialog.prototype.renderAsTwoRows):
(WebInspector.FilteredItemSelectionDialog.prototype._createItemElement):
(WebInspector.OpenResourceDialog.show):
* inspector/front-end/ViewportControl.js:
(WebInspector.ViewportControl):
(WebInspector.ViewportControl.prototype.refresh):
* inspector/front-end/filteredItemSelectionDialog.css:
(.filtered-item-list-dialog > input):
(.filtered-item-list-dialog > div.progress):
(.filtered-item-list-dialog > div.container):
(.filtered-item-list-dialog-item):
(.filtered-item-list-dialog-subtitle):
(.filtered-item-list-dialog-item.one-row .filtered-item-list-dialog-subtitle):
(.filtered-item-list-dialog-item.two-rows):
(.filtered-item-list-dialog-item.selected):
(.filtered-item-list-dialog-item span.highlight):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Chromium] Unreviewed gaedening.

Updated results after http://trac.webkit.org/changeset/141243.

* platform/chromium-linux/fast/repaint/4774354-expected.png:
* platform/chromium-linux/fast/repaint/4776765-expected.png:
* platform/chromium-linux/fast/repaint/caret-with-transformation-expected.png: Added.
* platform/chromium-mac-lion/fast/repaint/4774354-expected.png:
* platform/chromium-mac-lion/fast/repaint/4776765-expected.png:
* platform/chromium-mac-lion/fast/repaint/caret-with-transformation-expected.png: Added.
* platform/chromium-mac-snowleopard/fast/repaint/4774354-expected.png:
* platform/chromium-mac-snowleopard/fast/repaint/4776765-expected.png:
* platform/chromium-mac/fast/repaint/4774354-expected.png:
* platform/chromium-mac/fast/repaint/4776765-expected.png:
* platform/chromium-mac/fast/repaint/caret-with-transformation-expected.png: Added.
* platform/chromium-mac/fast/repaint/caret-with-transformation-expected.txt: Added.
* platform/chromium-win/fast/repaint/4774354-expected.png:
* platform/chromium-win/fast/repaint/4776765-expected.png:
* platform/chromium-win/fast/repaint/caret-with-transformation-expected.png: Added.
* platform/chromium-win/fast/repaint/caret-with-transformation-expected.txt: Added.
* platform/chromium/TestExpectations:

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