mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make the service worker send custom response
This commit is contained in:
parent
81a1e28da1
commit
36dbd27ba5
4 changed files with 52 additions and 29 deletions
|
@ -15,7 +15,7 @@ pub enum WorkerScriptMsg {
|
|||
/// Common variants associated with the script messages
|
||||
Common(CommonScriptMsg),
|
||||
/// Message sent through Worker.postMessage
|
||||
DOMMessage(StructuredCloneData),
|
||||
DOMMessage(StructuredCloneData)
|
||||
}
|
||||
|
||||
pub struct SimpleWorkerErrorHandler<T: Reflectable> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue