electron/atom/renderer
JP Richardson d6ae874038 emit error object on process.on('uncaughtException') in renderer
Chromium added the actual `error` object to the 5th parameter in `window.onerror`. This should be emitted as opposed to the `errorMsg` string. Worse yet, since `errorMsg` wasn't an instance of `Error`, any code that assumes this in any `process.on('uncaughtException')` handler would fail. Also, correctly emitting the error provides the stack trace.

This is now an HTML5 standard.

Sources:
- https://html.spec.whatwg.org/multipage/webappapis.html#errorevent
- https://mikewest.org/2013/08/debugging-runtime-errors-with-window-onerror
- https://code.google.com/p/chromium/issues/detail?id=147127
2015-07-10 14:38:03 -05:00
..
api remote: handle circular reference in wrapArgs 2015-06-16 13:43:30 +05:30
lib emit error object on process.on('uncaughtException') in renderer 2015-07-10 14:38:03 -05:00
resources/mac mac: Generate Info.plist from gyp variables 2015-04-14 16:09:34 +08:00
atom_render_view_observer.cc Remove all calls to node::MakeCallback 2015-06-23 20:14:03 +08:00
atom_render_view_observer.h OVERRIDE macro is now removed 2015-01-27 13:18:30 -08:00
atom_renderer_client.cc renderer: option to override page visiblity state 2015-06-04 14:40:13 +05:30
atom_renderer_client.h renderer: option to override page visiblity state 2015-06-04 14:40:13 +05:30
guest_view_container.cc Listen to ElementSizeChanged event 2015-05-29 13:47:09 +08:00
guest_view_container.h Listen to ElementSizeChanged event 2015-05-29 13:47:09 +08:00