implement missing steps from "prepare a script" algorithm

Fixes #4089
This commit is contained in:
Prabhjyot Singh Sodhi 2015-02-23 00:46:09 +05:30
parent 65454e51c8
commit 64ba4a914e
3 changed files with 39 additions and 9 deletions

View file

@ -35,6 +35,7 @@ use dom::bindings::utils::{Reflectable, Reflector, WindowProxyHandler};
use script_task::ScriptChan;
use cssparser::RGBA;
use encoding::types::EncodingRef;
use geom::matrix2d::Matrix2D;
use geom::rect::Rect;
use html5ever::tree_builder::QuirksMode;
@ -78,6 +79,8 @@ impl<T: Reflectable> JSTraceable for JS<T> {
}
}
no_jsmanaged_fields!(EncodingRef);
no_jsmanaged_fields!(Reflector);
/// Trace a `JSVal`.