servo/src/components/script/dom/bindings
Ms2ger 0016b1839e Use a single JSContext per JSRuntime.
The long-term plan for SpiderMonkey is to eliminate JSContexts by merging
(most of) it into JSRuntime, so to future-proof our code, we should avoid
creating multiple JSContexts for the same JSRuntime.

However, this implies we'll have to use the same JSContext for objects in
different compartments, so we need to enter compartments. This is done by
using the with_compartment function.
2014-05-05 19:41:02 +02:00
..
codegen Use a single JSContext per JSRuntime. 2014-05-05 19:41:02 +02:00
callback.rs This batch of changes upgrades Servo to work with the Rust upgrade as of 2014-04-27 15:46:12 -05:00
conversions.rs Replace all ~"" with "".to_owned(). 2014-05-03 22:17:45 +02:00
element.rs Implement JSManaged for DOM objects. 2014-02-24 15:16:42 -05:00
error.rs Use more rustic names for ThrowTypeError and infrastructure. 2014-04-28 17:18:28 +02:00
js.rs Address review comments. 2014-05-03 14:18:31 -04:00
proxyhandler.rs Replace most ~"string"s with "string".to_owned(). 2014-05-04 09:39:07 +02:00
str.rs Use ByteString in XHR 2014-05-03 19:39:11 +05:30
trace.rs Fix some unused_mut/unused_result warnings 2014-05-05 15:43:29 +05:30
utils.rs Use a single JSContext per JSRuntime. 2014-05-05 19:41:02 +02:00