06-15-2011 09:20 PM
Webworks doesn't support 'window.onerror'. It's quite common for it to be missing from Webkit based browsers, but Chrome now has it on the desktop.
Is it worth making a feature request for it?
Is there an alternative on the PlayBook? I couldn't find a global error listener in the API and some errors are impossible to trap without it...
10-21-2011 12:36 PM
This is an extremely frustrating feature to be "missing" from the webworks platform and I totally agree it should be added/included.
Additionally/alternatively on the PlayBook, there is a dev mode option that opens up a web inspector on port 1337 that would also be very handy for testing webworks apps on the phone.
If there is anything we can do to increase the urgency of adding a window.onerror implementation in webworks please advise.
11-01-2011 09:37 AM
Apparently this is likely due to a feature lacking in WebKit itself.
Bug 8519 https://bugs.webkit.org/show_bug.cgi?id=8519 suggests that this feature has been added to WebKit (and thus hopefully will trickle down to BlackBerry devices at some point soon.
So hopefully its just a waiting game now ;-)
02-28-2012 08:00 PM