crosswalk-project/crosswalk — pull request #2519 by rakuco (2014-10-19 21:54:48+00:00)
Title: [Android] Fix failing Cross-Origin XHR tests.

This fixes 2 of the 5 currently failing tests:
* org.xwalk.runtime.client.test.CrossOriginXhrTest
* org.xwalk.runtime.client.embedded.test.CrossOriginXhrTest

The first commit rolls chromium-crosswalk to pull in a change that will
be in M40 as well as a commit on top of it I wrote that allows one to
specify the port `TestWebServer` must listen in -- in M39,
`TestWebServer` had its behavior changed and was listening in a random
port in every invocation instead of the hardcoded ones that were
removed. This does not play well with the cross-origin XHR tests, which
need the web server to be listening in a specific port number to work.

The second commit just makes use of the new API provided by the first
one.

Partially fixes XWALK-2755.