mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Also fixed all the XHR tests to actually run and work
I learned from elliot that the it function has to
take a "done" argument to be treated asynchronously.
My utf8 conversion is a hack, but we deleted
window.TextEncoder (it was a module) when we forked.
We could resurrect TextEncoder (and probably should)
but I've left that for a separate change.
I also augmented sky_server to have a special /echo_post
handler so we can test POST requests.
R=esprehn@chromium.org
BUG=
Committed: 5ef81d249b
Review URL: https://codereview.chromium.org/810523002
sky_server instructions ####################### Building locally: 1. cd sky/tools/skygo 2. go build sky_server.go Testing locally: 1. Build as per the above steps 2. Run test_sky --path-to-server /absolute/path/to/sky/tools/skygo/sky_server Uploading the locally built server 1. cd sky/tools/skygo 2. upload_to_google_storage.py --bucket mojo sky_server upload_to_google_storage.py is in depot_tools. It will overwrite sky_server.sha1. Include that change in your code review. sky_server was last built using go version go1.3 linux/amd64.