mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Stop implementing Reflectable for JS<T> (fixes #2285).
It's not generally safe to expose the contents of a JS<T>.
This commit is contained in:
parent
ca5e7097a0
commit
3781567c19
2 changed files with 6 additions and 13 deletions
|
@ -88,12 +88,6 @@ pub trait JSTraceable {
|
|||
fn trace(&self, trc: *mut JSTracer);
|
||||
}
|
||||
|
||||
impl<T: Reflectable> JSTraceable for JS<T> {
|
||||
fn trace(&self, trc: *mut JSTracer) {
|
||||
trace_reflector(trc, "", self.reflector());
|
||||
}
|
||||
}
|
||||
|
||||
no_jsmanaged_fields!(EncodingRef);
|
||||
|
||||
no_jsmanaged_fields!(Reflector);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue