https://hub.jazz.net/project/pmuellr/bluemix-hello-node/over...
The goal with the demo is just to show you how to get node code running on BlueMix; what code (in what language) you run is up to you!
4 karma · joined March 11, 2011
https://hub.jazz.net/project/pmuellr/bluemix-hello-node/over...
The goal with the demo is just to show you how to get node code running on BlueMix; what code (in what language) you run is up to you!
From what I could tell, the bug was shipped starting with some version of Android 2.x (I'm thinking 2.2) where JSC was used as the internal JS engine for WebKit instead of V8. When the Android devs added V8 support, they actually broke JSC support. It's a device manufacturer choice (or was) as to which JS engine to use. Curiously, Android shipped the 2.3 simulator image (guess that was the version) with JSC support, thus, "it was broken".
The API in question is `WebView.addJavascriptInterface()`. That method returned successfully, but whenever you accessed the interface from JS, you'd trap.
Could be this was only on the simulator, but - I'm thinking folks saw this on devices as well. Maybe those devices are no longer relevant?
Presumably Cordova will revert back to using `WebView.addJavascriptInterface()` when it's safe to do. The problem is, it's not clear when it's safe to do so. It's also not clear how you can test your JS environment to see if "it's safe", programmatically. Or maybe you can (eg, throw an Error, check for existence of error.stack), but ... it's wasn't a comfortable situation to be in.
Do you have some references that the 'bug' doesn't ship on devices, or that it no longer ships on simulator images?
What versions of Android SDK/simulator/devices does Trigger.io support? Presumably you don't support running Android 2.3 on the simulator, as your code would trap?
https://github.com/jashkenas/coffee-script/issues/558
There are relevant bugs open in WebKit-land, and Mozilla-land as well, and should be pointers to those in the comments of the referenced bug.downloads - https://github.com/pmuellr/weinre/downloads