Add oninput/onchange so tests work

This commit is contained in:
Manish Goregaokar 2014-11-26 22:29:41 +05:30
parent e7ac792ed6
commit e7b3caa386
15 changed files with 43 additions and 200 deletions

View file

@ -270,8 +270,7 @@ impl<'a> WindowMethods for JSRef<'a, Window> {
self.performance.or_init(|| Performance::new(self))
}
event_handler!(click, GetOnclick, SetOnclick)
event_handler!(load, GetOnload, SetOnload)
global_event_handlers!()
event_handler!(unload, GetOnunload, SetOnunload)
error_event_handler!(error, GetOnerror, SetOnerror)