diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2014-09-24 03:01:03 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2014-09-24 05:44:49 +0530 |
commit | cc44a3b0641d94908b2b2e01bec440f64f89f8be (patch) | |
tree | a4b70f846ee51abd5b413c6875ef1bc24449c8b9 /components/script/dom/domexception.rs | |
parent | 85f79290a67afb25369a9a48ee9a389ee32fd20e (diff) | |
download | servo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.tar.gz servo-cc44a3b0641d94908b2b2e01bec440f64f89f8be.zip |
Use JSTraceable everywhere
Diffstat (limited to 'components/script/dom/domexception.rs')
-rw-r--r-- | components/script/dom/domexception.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/dom/domexception.rs b/components/script/dom/domexception.rs index ff2993baac8..392cff0222d 100644 --- a/components/script/dom/domexception.rs +++ b/components/script/dom/domexception.rs @@ -13,7 +13,8 @@ use dom::bindings::utils::{Reflectable, Reflector, reflect_dom_object}; use servo_util::str::DOMString; #[repr(uint)] -#[deriving(Show, Encodable)] +#[deriving(Show)] +#[jstraceable] pub enum DOMErrorName { IndexSizeError = DOMExceptionConstants::INDEX_SIZE_ERR as uint, HierarchyRequestError = DOMExceptionConstants::HIERARCHY_REQUEST_ERR as uint, @@ -59,7 +60,7 @@ impl DOMErrorName { } } -#[deriving(Encodable)] +#[jstraceable] #[must_root] pub struct DOMException { pub code: DOMErrorName, |