Improve keyapplet referencing
Don't unpack the keyapplet, copy it into place as a cache.jar. To
avoid linking the Gerrit version number on the applet cache, use a
build time resource to tell us the actual version number of the
applet, thereby avoiding downloads even across Gerrit upgrades.
When loading the applet for the first time in this browser, give
the applet up to 30 seconds to start up. It may need to show a
dialog to the user and ask them if its OK to execute. The user
will need a few seconds to respond to this request before we can
actually hit the applet's API.
Change-Id: I0c4b9b8f7a382b343cfabff1d36d9f9034b74530
Signed-off-by: Shawn O. Pearce <sop@google.com>
4 files changed