mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Expose HashChangeEvent only in Window
This commit is contained in:
parent
ee1ff1d385
commit
2221203359
5 changed files with 10 additions and 13 deletions
|
@ -2614,7 +2614,7 @@ impl DocumentMethods for Document {
|
|||
"focusevent" =>
|
||||
Ok(Root::upcast(FocusEvent::new_uninitialized(&self.window))),
|
||||
"hashchangeevent" =>
|
||||
Ok(Root::upcast(HashChangeEvent::new_uninitialized(&self.window.upcast()))),
|
||||
Ok(Root::upcast(HashChangeEvent::new_uninitialized(&self.window))),
|
||||
"keyboardevent" =>
|
||||
Ok(Root::upcast(KeyboardEvent::new_uninitialized(&self.window))),
|
||||
"messageevent" =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue