Expand description
This module contains traits in script used generically in the rest of Servo. The traits are here instead of in script so that these modules won’t have to depend on script.
Structs§
- Input events from the embedder that are sent via the
Constellation`` to the
ScriptThread`. - The result of executing paint code: the image together with any image URLs that need to be loaded.
- Data needed to construct a script thread.
- The initial data required to create a new layout attached to an existing script thread.
Enums§
- When a pipeline is closed, should its browsing context be discarded too?
- Is a document fully active, active or inactive? A document is active if it is the current active document in its session history, it is fuly active if it is active and all of its ancestors are active, and it is inactive otherwise.
- Used to determine if a script has any pending asynchronous activity.
- Errors from executing a paint worklet
- Type of recorded progressive web metric
- Messages sent to the
ScriptThread
event loop from theConstellation
,Compositor
, and (for now)Layout
. - The reason why the pipeline id of an iframe is being updated.
Traits§
- Execute paint code in the worklet thread pool.