electron/atom/common/native_mate_converters
Cheng Zhao 06cf0406fe Dereference remote objects with native code
Previously we rely on the v8util.setDestructor to dereference the remote
objects in JavaScript, however as documented in V8, it is forbidden to
call V8 APIs in object's destructor (e.g. the weak callback), and doing
so would result in crashs.

This commit removes the JavaScript setDestructor method, and avoids
doing the dereference work with V8.
2016-04-26 16:16:22 +09:00
..
accelerator_converter.cc Use Local instead of Handle 2015-05-22 19:11:22 +08:00
accelerator_converter.h Use Local instead of Handle 2015-05-22 19:11:22 +08:00
blink_converter.cc Remove duplicated keyboard code 2016-03-06 15:04:05 +09:00
blink_converter.h fix cpplint warning 2015-12-21 19:16:02 +05:30
callback.cc It is fine to leak a V8 handle on exit 2015-12-03 16:33:57 +08:00
callback.h Update to API changes of Chrome 47 2015-12-07 19:56:23 +08:00
content_converter.cc Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
content_converter.h Dereference remote objects with native code 2016-04-26 16:16:22 +09:00
file_path_converter.h tracing: fix docs and allow null values in file path conversion fromv8 2015-11-13 02:36:38 +05:30
gfx_converter.cc Do not create remote object for simple return values of APIs 2015-08-27 16:14:53 +08:00
gfx_converter.h Use Local instead of Handle 2015-05-22 19:11:22 +08:00
gurl_converter.h Use Local instead of Handle 2015-05-22 19:11:22 +08:00
image_converter.cc Use Local instead of Handle 2015-05-22 19:11:22 +08:00
image_converter.h Use Local instead of Handle 2015-05-22 19:11:22 +08:00
net_converter.cc Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
net_converter.h session: provide uploadData with webrequest api when available 2016-01-27 18:39:40 +05:30
string16_converter.h Remove all calls to node::MakeCallback 2015-06-23 20:14:03 +08:00
v8_value_converter.cc Fix compilation errors on OS X 2016-03-10 17:06:21 +09:00
v8_value_converter.h basictypes.h => macros.h 2016-03-10 17:06:21 +09:00
value_converter.cc fix pointer usage 2015-12-11 00:25:25 +05:30
value_converter.h fix pointer usage 2015-12-11 00:25:25 +05:30