ios-jsc: Call global onUncaughtError callback when a NSException occurs
var arr = NSArray.array();
var obj = arr[3]; // A NSException is raised
global.__onUncaughtError = function (e) {
// This should be called
}
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 21 (19 by maintainers)
@atanasovg @fealebenpae
Here are the results after adding
try/catchin each call on top of our current master branch:32-bit iPhone 5 with iOS 7
64-bit iPhone 5s with iOS 8
There seem to be no significant differences, except for the Primitives test (calling a method one million times) on 32-bit platforms.