mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update webidl of ServiceWorkerGlobalScope
This commit is contained in:
parent
b1a2b6b5bf
commit
df1a3a7ea3
2 changed files with 6 additions and 3 deletions
|
@ -436,6 +436,9 @@ unsafe extern "C" fn interrupt_callback(cx: *mut JSContext) -> bool {
|
|||
}
|
||||
|
||||
impl ServiceWorkerGlobalScopeMethods for ServiceWorkerGlobalScope {
|
||||
// https://w3c.github.io/ServiceWorker/#service-worker-global-scope-onmessage-attribute
|
||||
// https://w3c.github.io/ServiceWorker/#dom-serviceworkerglobalscope-onmessage
|
||||
event_handler!(message, GetOnmessage, SetOnmessage);
|
||||
|
||||
// https://w3c.github.io/ServiceWorker/#dom-serviceworkerglobalscope-onmessageerror
|
||||
event_handler!(messageerror, GetOnmessageerror, SetOnmessageerror);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue