mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Enforce linking to spec for method implementations via macros
This commit is contained in:
parent
7474b29510
commit
3a1d140ab5
23 changed files with 137 additions and 11 deletions
|
@ -503,8 +503,13 @@ impl WindowMethods for Window {
|
|||
})
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#globaleventhandlers
|
||||
global_event_handlers!();
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#handler-window-onunload
|
||||
event_handler!(unload, GetOnunload, SetOnunload);
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#handler-onerror
|
||||
error_event_handler!(error, GetOnerror, SetOnerror);
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Web/API/Window/screen
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue