mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Fix most defaultPrevented test failures (#2172)
This commit is contained in:
parent
c7976b1e87
commit
fa7bc7a686
2 changed files with 6 additions and 4 deletions
|
@ -137,6 +137,7 @@ impl Event {
|
|||
self.cancelable = cancelable;
|
||||
self.bubbles = bubbles;
|
||||
self.initialized = true;
|
||||
self.default_prevented = false;
|
||||
}
|
||||
|
||||
pub fn IsTrusted(&self) -> bool {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue