Increase priority on SharedTimer source.
http://bugs.webkit.org/show_bug.cgi?id=134109

While running webkit on a Debian virtual machine I stumbled upon an issue where JS
setTimeout callbacks were not being properly invoked due to machine limitations and the
usage of a low priority on setTimeout timers.

This patch increases the SharedTimer source priority to use the default glib priority which
fixes the issue, making setTimeout JS calls work properly on the test environment.

Reviewed by Gustavo Noronha Silva.

* platform/gtk/SharedTimerGtk.cpp:
(WebCore::setSharedTimerFireInterval):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@170529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
[XHR] open method must uppercase only standard method types
https://bugs.webkit.org/show_bug.cgi?id=134264

Patch by Mahesh Kulkarni <mahesh.kk@samsung.com> on 2014-06-27
Reviewed by Darin Adler.

Source/WebCore:
As per step-5 of http://xhr.spec.whatwg.org/#the-open()-method only
DELETE, PUT, GET, POST, OPTIONS, HEAD are standard. Use other methods as is without case change.
All tests from w3c-test suite pass http://w3c-test.org/XMLHttpRequest/open-method-case-sensitive.htm.
This merges blink changes from r176592.

Tests: http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html
       http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html

* xml/XMLHttpRequest.cpp:
(WebCore::XMLHttpRequest::uppercaseKnownHTTPMethod):

LayoutTests:
All tests from w3c-test suite pass http://w3c-test.org/XMLHttpRequest/open-method-case-sensitive.htm.
This merges blink changes from r176592.

* http/tests/xmlhttprequest/resources/echo-request-method.php: Added.
* http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed-expected.txt: Added.
* http/tests/xmlhttprequest/xmlhttprequest-open-method-allowed.html: Added.
* http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive-expected.txt: Added.
* http/tests/xmlhttprequest/xmlhttprequest-open-method-case-insensitive.html: Added.

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