Crate devtools_traits
source ·Expand description
This module contains shared types and messages for use by devtools/script. The traits are here instead of in script so that the devtools crate can be modified independently of the rest of Servo.
Structs
The properties of a DOM node as computed by layout.
A replacement for
time::PreciseTime
that isn’t opaque, so we can serialize it.Enums
Events that the devtools server must act upon.
Messages to process in a particular script thread, as instructed by a devtools client.
TODO: better error handling, e.g. if pipeline id lookup fails?
Messages to instruct the devtools server to update its known actors/state
according to changes in the browser.
Serialized JS return values
TODO: generalize this beyond the EvaluateJS message?
The state of a page navigation.
Events that the devtools server must act upon.