mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Migrate EventTarget
event firing functions to use Atom
s.
This allows us to utilize more `atom` macros.
This commit is contained in:
parent
80575c3d2e
commit
f447040ea9
16 changed files with 42 additions and 33 deletions
|
@ -606,7 +606,7 @@ impl Document {
|
|||
|
||||
self.ready_state.set(state);
|
||||
|
||||
self.upcast::<EventTarget>().fire_event("readystatechange");
|
||||
self.upcast::<EventTarget>().fire_event(atom!("readystatechange"));
|
||||
}
|
||||
|
||||
/// Return whether scripting is enabled or not
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue