issue: servo/servo#1799, https://github.com/servo/servo/wiki/Prototype-ways-of-splitting-the-script-crate
git bisect start
git bisect bad <bad-commit>
git bisect good <good-commit>
git bisect run ../bisect.py
There are 3 JSContext types:
js::jsapi::JSContextwhich is usually used as*mut RawContextscript_bindings::script_runtime::JSContextwhich is just wrapper for above pointer, typically namedSafeJSContextjs::context::JSContextnewJSContext, usually passed as&mut JSContext(GC can happen) or&JSContext(no GC can happen)