rebaseline_server: return rebaseline results faster, and reload UI page automatically...
authorcommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 17 Dec 2013 18:06:13 +0000 (18:06 +0000)
committercommit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 17 Dec 2013 18:06:13 +0000 (18:06 +0000)
commit50ad8e4d8efcd04f8a2c34cc32f6fecb3985a1a4
tree7f4926f04db3d56907fc4a028f32faf4c13de37d
parent588be5370664f8d41050dc66ea38538b22e4c881
rebaseline_server: return rebaseline results faster, and reload UI page automatically after

Old way:
Wait until server has loaded the updated results before telling the user the rebaseline
was successful, and trust the user to reload the page before submitting more baselines.

New way:
Make server load the updated results in a separate thread, and automatically reload the page
so that the user can submit more baselines if she wants to.

(SkipBuildbotRuns)
NOTRY=True
NOTREECHECKS=True
R=bsalomon@google.com

Author: epoger@google.com

Review URL: https://codereview.chromium.org/117453002

git-svn-id: http://skia.googlecode.com/svn/trunk@12717 2bbb7eff-a529-9590-31e7-b0007b416f81
gm/rebaseline_server/server.py
gm/rebaseline_server/static/loader.js