Correct minor problems with previous commit.
authorMark Donnelly <mark@painless-security.com>
Tue, 21 Oct 2014 01:49:56 +0000 (21:49 -0400)
committerMark Donnelly <mark@painless-security.com>
Tue, 21 Oct 2014 01:49:56 +0000 (21:49 -0400)
chrome/app/navigator.gss.js
chrome/test/test.html

index 7af3b44..01ad32e 100644 (file)
@@ -88,7 +88,7 @@ var GSSEap = (function ()
         // - name
         // - success()
         if ( "undefined" == typeof(name) ||
-             "undefined" == typeof(success) )
+             "undefined" == typeof(callback) )
         {
           this.error(-1, -1, 
             "import_name called missing either name or success callback"
index f5cb715..f9eef1e 100644 (file)
@@ -8,7 +8,7 @@
       }
 
       function doImportName() {
-        var gss = new navigator.gss({
+        var gss = new navigator.gss_eap({
           appTag: "TestApp",
           error:  function(major, minor, errMsg, appTag) 
                   {