Fix most defaultPrevented test failures (#2172)

This commit is contained in:
Manish Goregaokar 2014-04-19 03:48:07 +05:30
parent c7976b1e87
commit fa7bc7a686
2 changed files with 6 additions and 4 deletions

View file

@ -137,6 +137,7 @@ impl Event {
self.cancelable = cancelable;
self.bubbles = bubbles;
self.initialized = true;
self.default_prevented = false;
}
pub fn IsTrusted(&self) -> bool {