This patch is to fix issue 187 and issue 188. It should now return the init details for the Chrome on OSX and Chrome on OSX.

git-svn-id: https://beef.googlecode.com/svn/trunk@588 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
wade@bindshell.net
2010-11-30 10:03:17 +00:00
parent 322d0cda69
commit b4f6c7f263

View File

@@ -17,7 +17,11 @@ beef.net.local = {
initializeSocket: function() {
if(! beef.browser.hasJava()) return -1;
this.sock = new java.net.Socket();
try {
this.sock = new java.net.Socket();
} catch(e) {
return -1;
}
return 1;
},