Crate constellation

source

Modulesยง

  • browsingcontext ๐Ÿ”’
  • constellation ๐Ÿ”’
    The Constellation, Servoโ€™s Grand Central Station
  • event_loop ๐Ÿ”’
    This module contains the EventLoop type, which is the constellationโ€™s view of a script thread. When an EventLoop is dropped, an ExitScriptThread message is sent to the script thread, asking it to shut down.
  • logging ๐Ÿ”’
    The constellation uses logging to perform crash reporting. The constellation receives all warn!, error! and panic! messages, and generates a crash report when it receives a panic.
  • pipeline ๐Ÿ”’
  • sandboxing ๐Ÿ”’
  • serviceworker ๐Ÿ”’
  • session_history ๐Ÿ”’
  • tracing ๐Ÿ”’
  • webview ๐Ÿ”’

Structsยง

  • The Constellation itself. In the servo browser, there is one constellation, which maintains all of the browser global data. In embedded applications, there may be more than one constellation, which are independent of each other.
  • A logger directed at the constellation from the compositor
  • A logger directed at the constellation from content processes #[derive(Clone)]
  • State needed to construct a constellation.
  • Creating a new pipeline may require creating a new event loop. This is the data used to initialize the event loop. TODO: simplify this, and unify it with InitialPipelineState if possible.

Enumsยง

Functionsยง