mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Remove "fire a simple event" concept, refactor event firing API.
"fire a simple event" concept was removed in https://github.com/whatwg/html/pull/1933.
This commit is contained in:
parent
5b4cc9568d
commit
c3b279a4c3
15 changed files with 58 additions and 52 deletions
|
@ -239,7 +239,7 @@ impl HTMLIFrameElement {
|
|||
// TODO Step 3 - set child document `mut iframe load` flag
|
||||
|
||||
// Step 4
|
||||
self.upcast::<EventTarget>().fire_simple_event("load");
|
||||
self.upcast::<EventTarget>().fire_event("load");
|
||||
|
||||
let mut blocker = self.load_blocker.borrow_mut();
|
||||
LoadBlocker::terminate(&mut blocker);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue