mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Differentiate between error and non-error event handlers per the spec.
This commit is contained in:
parent
b40882093a
commit
2340583e56
9 changed files with 118 additions and 59 deletions
|
@ -511,9 +511,6 @@ impl WindowMethods for Window {
|
|||
// https://html.spec.whatwg.org/multipage/#handler-window-onstorage
|
||||
event_handler!(storage, GetOnstorage, SetOnstorage);
|
||||
|
||||
// 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
|
||||
fn Screen(&self) -> Root<Screen> {
|
||||
self.screen.or_init(|| Screen::new(self))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue