mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
store senders instead of buffering messages
This commit is contained in:
parent
0996b38ade
commit
9dcb7348a2
17 changed files with 193 additions and 188 deletions
|
@ -207,9 +207,7 @@ pub enum ConstellationControlMsg {
|
|||
/// Report an error from a CSS parser for the given pipeline
|
||||
ReportCSSError(PipelineId, String, usize, usize, String),
|
||||
/// Reload the given page.
|
||||
Reload(PipelineId),
|
||||
/// Requests the script thread to connect service worker object to its scope
|
||||
ConnectServiceWorker(Url, IpcSender<DOMMessage>)
|
||||
Reload(PipelineId)
|
||||
}
|
||||
|
||||
impl fmt::Debug for ConstellationControlMsg {
|
||||
|
@ -238,8 +236,7 @@ impl fmt::Debug for ConstellationControlMsg {
|
|||
DispatchFrameLoadEvent { .. } => "DispatchFrameLoadEvent",
|
||||
FramedContentChanged(..) => "FramedContentChanged",
|
||||
ReportCSSError(..) => "ReportCSSError",
|
||||
Reload(..) => "Reload",
|
||||
ConnectServiceWorker(..) => "ConnectServiceWorker"
|
||||
Reload(..) => "Reload"
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue