Rework the injected script:
authorMark Donnelly <mark@painless-security.com>
Thu, 16 Oct 2014 19:53:26 +0000 (15:53 -0400)
committerMark Donnelly <mark@painless-security.com>
Thu, 16 Oct 2014 19:53:26 +0000 (15:53 -0400)
commit5065f1caaa97c377af72b6e3f37025777ccad271
tree02fd5a7fd1af2d9ebd30f3ad45367829df1dcdba
parentff037af1b9b315026af65038a00c0f553d55cde9
Rework the injected script:

* Make it object-based
* Functions now take hashes (like jQuery) instead of parameter lists
* There is now a single response dispatcher instead of writing one
  per GSS method call
* Implement the gss_error C-macro as a JavaScript function
* Split the callback into two callbacks: success and error.
* Add checking for whether the message returned from the C code has a
  matching nonce/method tuple.
chrome/app/navigator.gss.js
chrome/test/test.html