XHR request for local file that doesn't exist on device causes a runtime exception:
that catched in the XHRHelper code and __onXHRLocalCallback for this request is never called.
1. Create blank MDD app, add WP8 platform.
2. Try to get an unexistant file, e.g.:
'Callback called' is printed to console
No output in console.
Problem is in arguments array, that passed to __onXHRLocalCallback. Seems that member of this array can't be null, so replace
solves the problem.