Adding window.onstorage EventHandler

This commit is contained in:
KALPESH KRISHNA 2015-10-16 02:37:27 +05:30
parent 417cf5738e
commit a183eacb63
3 changed files with 16 additions and 0 deletions

View file

@ -513,6 +513,9 @@ impl WindowMethods for Window {
// https://html.spec.whatwg.org/multipage/#handler-window-onunload
event_handler!(unload, GetOnunload, SetOnunload);
// 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);