mirror of
https://github.com/servo/servo.git
synced 2025-07-08 16:03:40 +01:00
Script thread lifetime is now managed by the constellation.
This commit is contained in:
parent
18b7b5da07
commit
9ac6e4d2ba
4 changed files with 59 additions and 22 deletions
components/script_traits
|
@ -193,6 +193,8 @@ pub enum ConstellationControlMsg {
|
|||
ResizeInactive(PipelineId, WindowSizeData),
|
||||
/// Notifies the script that a pipeline should be closed.
|
||||
ExitPipeline(PipelineId),
|
||||
/// Notifies the script that the whole thread should be closed.
|
||||
ExitScriptThread,
|
||||
/// Sends a DOM event.
|
||||
SendEvent(PipelineId, CompositorEvent),
|
||||
/// Notifies script of the viewport.
|
||||
|
@ -257,6 +259,7 @@ impl fmt::Debug for ConstellationControlMsg {
|
|||
Resize(..) => "Resize",
|
||||
ResizeInactive(..) => "ResizeInactive",
|
||||
ExitPipeline(..) => "ExitPipeline",
|
||||
ExitScriptThread => "ExitScriptThread",
|
||||
SendEvent(..) => "SendEvent",
|
||||
Viewport(..) => "Viewport",
|
||||
SetScrollState(..) => "SetScrollState",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue