-
Philip Chimento authored
Based on a patch by Jasper St. Pierre. This allows executing a JS script (which must be a resource in the directory resource:///org/gnome/gjs/modules/_bootstrap) in order to define extra properties on a global object when the global object is created. This is currently not used for anything, but will be used for the code coverage compartment, and likely for a debugger as well. It can also be used to implement things in JS that are currently implemented in C++, like the log() and logError() functions. https://bugzilla.gnome.org/show_bug.cgi?id=777724
881e6b2e