Use location.hostname as part of the name of the other end; reorder calls for debugga...
authorMark Donnelly <mark@painless-security.com>
Mon, 24 Nov 2014 21:07:15 +0000 (16:07 -0500)
committerMark Donnelly <mark@painless-security.com>
Mon, 24 Nov 2014 21:07:15 +0000 (16:07 -0500)
commit03b2a875b8b4a5c2463d4a895559e24aa7feb837
tree09949b9e6eb70031b8899473206cffbadcbaca0d
parent2fcb597b802a2b61c103ecf7b4f5ac50a5770bbf
Use location.hostname as part of the name of the other end; reorder calls for debuggability.

The location.host includes the port number in the URL, if specified; the hostname does not.
The reordering of calls makes it easier to tell whether the crash is happening during a 200/Success or 401/Unauthorized response.
navigator.gssweb.js