[WK2][WTR] User style sheet location should be reset before each test
https://bugs.webkit.org/show_bug.cgi?id=96262

Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-10
Reviewed by Kenneth Rohde Christiansen.

User style sheet location is reset before each test now.

* WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
(WTR::InjectedBundle::beginTesting):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128048 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Create a toggle button for closed captions
https://bugs.webkit.org/show_bug.cgi?id=96259

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10
Reviewed by Kenneth Rohde Christiansen.

Source/WebCore:

Add toggle button for closed captions to EFL's
RenderTheme.

Test: media/video-controls-captions.html

* platform/efl/RenderThemeEfl.cpp:
(WebCore::RenderThemeEfl::edjeGroupFromFormType):
(WebCore::RenderThemeEfl::emitMediaButtonSignal):
(WebCore):
(WebCore::RenderThemeEfl::supportsClosedCaptioning):
(WebCore::RenderThemeEfl::paintMediaToggleClosedCaptionsButton):
* platform/efl/RenderThemeEfl.h:
(RenderThemeEfl):

Source/WebKit/efl:

Add closed caption toggling button to default WebKitEFL
theme.

* DefaultTheme/default.edc:
* DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption.png: Added.
* DefaultTheme/widget/mediacontrol/togglecaptionsbutton/closedcaption_disabled.png: Added.
* DefaultTheme/widget/mediacontrol/togglecaptionsbutton/toggle_captions_button.edc: Added.

LayoutTests:

Unskip media/video-controls-captions.html test case
now that EFL has a toggle button for closed captions.

Rebaseline a few media track test cases that now
display the new closed caption toggling button.

* platform/efl/TestExpectations:
* platform/efl/media/track/track-cue-rendering-horizontal-expected.png:
* platform/efl/media/track/track-cue-rendering-horizontal-expected.txt:
* platform/efl/media/track/track-cue-rendering-vertical-expected.png:
* platform/efl/media/track/track-cue-rendering-vertical-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[GTK] Sanitize the suggested filename when building the download destination URI
https://bugs.webkit.org/show_bug.cgi?id=96260

Reviewed by Gustavo Noronha Silva.

The suggested filename returned by the server can contain
directory separators so that the filename would be interpreted as
a full path.

* UIProcess/API/gtk/WebKitDownload.cpp:
(webkitDownloadDecideDestination): Convert any directory separator
contained in the suggested filename to an underscore.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128050 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Fix deprecation failures if QT_NO_DEPRECATED enabled
https://bugs.webkit.org/show_bug.cgi?id=96258

Patch by Kevin Funk <kevin.funk@kdab.com> on 2012-09-10
Reviewed by Simon Hausmann.

Sync with latest changes in Qt5.

Source/WebCore:

* platform/qt/RenderThemeQt.cpp:
* platform/qt/SharedTimerQt.cpp:

Source/WebKit2:

* WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp:
* WebProcess/qt/WebProcessQt.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128051 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL][DRT] Encoding issue in printed console messages
https://bugs.webkit.org/show_bug.cgi?id=96263

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10
Reviewed by Kenneth Rohde Christiansen.

Correctly handle CONSOLE messages that contain non-ascii
characters in EFL's DRT. We need to use String::fromUTF8()
to construct a WTF::String from a raw string.

* DumpRenderTree/efl/DumpRenderTreeView.cpp:
(onConsoleMessage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128052 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[EFL] Unskip fast/forms/validation-message-in-relative-body.html
https://bugs.webkit.org/show_bug.cgi?id=96265

Unreviewed EFL gardening.

Unskip fast/forms/validation-message-in-relative-body.html as
it is passing after r128030. The test required interactive
form validation setting to be enabled in WebKitTestRunner.

Patch by Christophe Dumez <christophe.dumez@intel.com> on 2012-09-10

* platform/efl-wk2/TestExpectations:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Drastically shorten length of commandline needed for JS bindings generator
https://bugs.webkit.org/show_bug.cgi?id=96266

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-10
Reviewed by Kenneth Rohde Christiansen.

The generate-bindings script supports the SOURCE_ROOT environment variable for IDL include file
lookups, which allows specifying relative include search directories.

* DerivedSources.pri:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128054 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[Qt] Gardening after r128042. Added baseline to newly added
http/tests/security/contentSecurityPolicy/source-list-parsing-nonascii.html
https://bugs.webkit.org/show_bug.cgi?id=96061

Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-09-10
Reviewed by Csaba Osztrogonác.

* platform/qt/http/tests/security/contentSecurityPolicy/source-list-parsing-nonascii-expected.txt: Added.

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