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 πŸ”’
  • network_listener πŸ”’
    The listener that encapsulates all state for an in-progress document request. Any redirects that are encountered are followed. Whenever a non-redirect response is received, it is forwarded to the appropriate script thread.
  • pipeline πŸ”’
  • sandboxing πŸ”’
  • serviceworker πŸ”’
  • session_history πŸ”’
  • timer_scheduler πŸ”’
  • 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
  • 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. 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§