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:
@@ -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;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user