Enforce linking to spec for method implementations via macros

This commit is contained in:
Corey Farwell 2015-08-31 19:19:08 -04:00
parent 7474b29510
commit 3a1d140ab5
23 changed files with 137 additions and 11 deletions

View file

@ -162,7 +162,10 @@ impl WorkerMethods for Worker {
Ok(())
}
// https://html.spec.whatwg.org/multipage/#handler-dedicatedworkerglobalscope-onmessage
event_handler!(message, GetOnmessage, SetOnmessage);
// https://html.spec.whatwg.org/multipage/#handler-workerglobalscope-onerror
event_handler!(error, GetOnerror, SetOnerror);
}