get_test_baseline should get Host from test_config
https://bugs.webkit.org/show_bug.cgi?id=125989

Patch by Dániel Bátyai <dbatyai.u-szeged@partner.samsung.com> on 2013-12-19
Reviewed by Ryosuke Niwa.

* Scripts/webkitpy/tool/commands/rebaselineserver.py:
(TestConfig.__init__):
(RebaselineServer._prepare_config):
* Scripts/webkitpy/tool/servers/rebaselineserver.py:
(get_test_baselines):
* Scripts/webkitpy/tool/servers/rebaselineserver_unittest.py:
(get_test_config):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160848 268f45cc-cd09-0410-ab3c-d52691b4dbfc
tryAddEventListener uses local PassRefPtr<>
https://bugs.webkit.org/show_bug.cgi?id=126001

Reviewed by Daniel Bates.

* dom/Node.cpp:
(WebCore::tryAddEventListener): Put PassRefPtr<EventListener> parameter into a local RefPtr
    because it is sometimes used twice.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160849 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed, rolling out r160842.
http://trac.webkit.org/changeset/160842
https://bugs.webkit.org/show_bug.cgi?id=126003

broke accessibility/loading-iframe-updates-axtree.html
(Requested by ap on #webkit).

Tools:

* DumpRenderTree/AccessibilityUIElement.cpp:
(AccessibilityUIElement::makeJSAccessibilityUIElement):
* DumpRenderTree/AccessibilityUIElement.h:
(AccessibilityUIElement::platformUIElement):

LayoutTests:

* accessibility/deleting-iframe-destroys-axcache.html:
* accessibility/loading-iframe-updates-axtree-expected.txt:
* accessibility/loading-iframe-updates-axtree.html:
* accessibility/non-data-table-cell-title-ui-element.html:
* platform/gtk/accessibility/roles-exposed-expected.txt:
* platform/gtk/accessibility/roles-exposed.html:
* platform/mac-wk2/TestExpectations:
* platform/mac/accessibility/search-predicate-expected.txt:
* platform/mac/accessibility/search-predicate.html:
* platform/mac/accessibility/search-when-element-starts-in-table-expected.txt:
* platform/mac/accessibility/search-when-element-starts-in-table.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add a failing test expectation to fast/dynamic/paused-event-dispatch.html
while I investigate.

* TestExpectations:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160851 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Use CascadedProperties for page and keyframe style resolution as well.
<https://webkit.org/b/125997>

Port StyleResolver's styleForKeyframe() and styleForPage() over to
the new property cascading code. Neither of them care about !important
or matched properties caches, so the code is very simple.

Removed the old applyMatchedProperties and applyProperties code with
low/high priority passes.

Reviewed by Antti Koivisto.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160852 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WK2] Rename WebURLResponse to API::URLResponse
https://bugs.webkit.org/show_bug.cgi?id=125910

Reviewed by Andreas Kling.

* Shared/API/c/WKSharedAPICast.h:
(WebKit::toAPI):
* Shared/API/c/WKURLResponse.cpp:
(WKURLResponseGetTypeID):
* Shared/API/c/mac/WKURLResponseNS.mm:
(WKURLResponseCreateWithNSURLResponse):
* Shared/APIURLRequest.cpp:
* Shared/APIURLResponse.cpp: Copied from Source/WebKit2/Shared/WebURLResponse.cpp.
(API::URLResponse::URLResponse):
(API::URLResponse::encode):
(API::URLResponse::decode):
* Shared/APIURLResponse.h: Copied from Source/WebKit2/Shared/WebURLResponse.h.
(API::URLResponse::create):
* Shared/UserMessageCoders.h:
(WebKit::UserMessageEncoder::baseEncode):
(WebKit::UserMessageDecoder::baseDecode):
* Shared/WebURLResponse.cpp: Removed.
* Shared/WebURLResponse.h: Removed.
* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::didReceiveResponse):
* UIProcess/WebPolicyClient.cpp:
(WebKit::WebPolicyClient::decidePolicyForResponse):
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundlePagePolicyClient.cpp:
(WebKit::InjectedBundlePagePolicyClient::decidePolicyForResponse):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Final preparations for GStreamer on Windows.
https://bugs.webkit.org/show_bug.cgi?id=125958

Patch by Alex Christensen <achristensen@webkit.org> on 2013-12-19
Reviewed by Benjamin Poulain.

Source/WTF:

* WTF.vcxproj/WTFDebugWinCairo.props:
* WTF.vcxproj/WTFReleaseWinCairo.props:
Include WinCairo.props.
* wtf/Platform.h:
Use GLib and GStreamer on WinCairo with video.

WebKitLibraries:

* win/tools/vsprops/FeatureDefinesCairo.props:
Removed duplicate ENABLE_VIDEO_TRACK definition.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Unreviewed EFL build fix attempt after r160853

* CMakeLists.txt: Change WebURLResponse.cpp to APIURLResponse.cpp.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160856 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add Apple Mavericks perf bot.
        
Unreviewed.

* BuildSlaveSupport/build.webkit.org-config/config.json:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160858 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[WinCairo] More GStreamer preparations.

Unreviewed.

* WinLauncher/WinLauncher.vcxproj/WinLauncherCFLite.props:
Include FeatureDefinesCairo and WinCairo to compile the GLib part of WinLauncher.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160859 268f45cc-cd09-0410-ab3c-d52691b4dbfc
URTBF for GTK after r160853.

* GNUmakefile.list.am:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
One more URTBF to make GTK build happy after r160853.

* UIProcess/API/gtk/WebKitDownloadClient.cpp:
* UIProcess/API/gtk/WebKitInjectedBundleClient.cpp:
(didReceiveWebViewMessageFromInjectedBundle):
* UIProcess/API/gtk/WebKitResponsePolicyDecision.cpp:
(webkitResponsePolicyDecisionCreate):
* UIProcess/API/gtk/WebKitResponsePolicyDecisionPrivate.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160861 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Add WebKit2 API for clearing the back-forward list
https://bugs.webkit.org/show_bug.cgi?id=126005

Patch by Ricky Mondello <rmondello@apple.com> on 2013-12-19
Reviewed by Anders Carlsson.

* UIProcess/API/C/WKBackForwardListRef.cpp:
(WKBackForwardListClear): Call through to the back-forward list's `clear()`.
* UIProcess/API/C/WKBackForwardListRef.h: Declare new API.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160862 268f45cc-cd09-0410-ab3c-d52691b4dbfc
check-webkit-style marks auto return types for functions as violations
https://bugs.webkit.org/show_bug.cgi?id=125999

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-19
Reviewed by Ryosuke Niwa.

If a function declaration ends with a "->" followed by a non whitespace
string, don't mark as an invalid "{" on its own line

* Scripts/webkitpy/style/checkers/cpp.py:
(check_braces):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest.test_brace_at_begin_of_line):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160863 268f45cc-cd09-0410-ab3c-d52691b4dbfc
check-webkit-style marks rvalue references as violations
https://bugs.webkit.org/show_bug.cgi?id=126000

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-19
Reviewed by Ryosuke Niwa.

Previously, check-webkit-style was making sure that any line with "&&" had
spaces around it. However, we can now legitimately use "&&" without a previous
space when declaring an rvalue reference. This patch relaxes this check.

* Scripts/webkitpy/style/checkers/cpp.py:
(check_spacing):
* Scripts/webkitpy/style/checkers/cpp_unittest.py:
(CppStyleTest.test_spacing_for_binary_ops):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Test that text-decoration-skip: ink is the same as regular underlines if no descenders
https://bugs.webkit.org/show_bug.cgi?id=125985

Patch by Myles C. Maxfield <mmaxfield@apple.com> on 2013-12-19
Reviewed by Simon Fraser.

If there are no descenders in the underlined text, using the text-decoration-skip: ink
CSS property should behave as if it wasn't specified (and the underline is a normal one)

* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-no-descenders-expected.html: Added.
* fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-no-descenders.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160865 268f45cc-cd09-0410-ab3c-d52691b4dbfc
REGRESSION (r160515): Frequent assertion failures on printing/print-close-crash.html
https://bugs.webkit.org/show_bug.cgi?id=126014

Rolled out r160515 while Chris is investigating. Added FIXME comments in other
places where we use this pattern.

* WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::runJavaScriptAlert):
(WebKit::WebChromeClient::runJavaScriptConfirm):
(WebKit::WebChromeClient::runJavaScriptPrompt):
(WebKit::WebChromeClient::print):
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Fix broken C loop LLINT build.
https://bugs.webkit.org/show_bug.cgi?id=126024.

Reviewed by Oliver Hunt.

* runtime/VM.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Remove WKContentViewPrivate.h, WKContentView.h is private now
https://bugs.webkit.org/show_bug.cgi?id=125981

Patch by Benjamin Poulain <bpoulain@apple.com> on 2013-12-19
Reviewed by Dan Bernstein.

There is no need for a separate header, WKContentView has become an implementation
detail of WKView.

* UIProcess/API/ios/WKContentView.h:
* UIProcess/API/ios/WKContentViewInternal.h:
* UIProcess/API/ios/WKContentViewPrivate.h: Removed.
* UIProcess/API/ios/WKView.mm:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160872 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Layout Test plugins/destroy-during-npp-new.html is flaky
https://bugs.webkit.org/show_bug.cgi?id=126027

* plugins/destroy-during-npp-new.html: Streamlined the test a little bit to see
what changes, if anything. There should be no effect on what is tested.



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