Make Reflector #[must_root], propagate to non-HTMLElements

This commit is contained in:
Manish Goregaokar 2014-09-17 00:51:20 +05:30
parent f0b8391762
commit 30014c3919
40 changed files with 53 additions and 12 deletions

View file

@ -12,6 +12,7 @@ use dom::eventtarget::{EventTarget, EventTargetHelpers, XMLHttpRequestTargetType
use dom::xmlhttprequest::XMLHttpRequestId;
#[deriving(Encodable)]
#[must_root]
pub struct XMLHttpRequestEventTarget {
pub eventtarget: EventTarget,
}