Add foreign converters for javascriptcore
Submitted by Adrian Freund
Link to original bug (#773322)
Description
Created attachment 338193 javascript foreign converters patch
This patch adds foreign converters for the JSGlobalContextRef object from JavaScriptCore as returned by webkit_web_view_get_javascript_global_context, webkit_frame_get_javascript_global_context and webkit_frame_get_javascript_context_for_script_world.
For this to work a version of pyjavascriptcore with C headers is needed, however the foreign converters can be disabled at build time. Currently my fork of pyjavascriptcore (the original hasn't been maintained since 2010) is the only version of pyjavascriptcore that provides C headers (Also the only version which works on python3). It can be found here: https://github.com/freundTech/pyjavascriptcore
Patch 338193, "javascript foreign converters patch":
javascriptcore_foreign_converters.diff