Reload UI if code split fails to download

If the server was upgraded, a code segment might not download
as its no longer available through the web application context.
Catch this failure and automatically reload the web UI, trying to
go back to the location the user requested.

Bug: issue 486
Change-Id: Ie235c9d30b7335fd7414b3ef082ec459ed794627
Signed-off-by: Shawn O. Pearce <sop@google.com>
2 files changed