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.
Since these types can be sent through the IPC channel and use non
self-describing serializers, the flatten, skip*, tag and untagged
serde annotations are not supported. Types like serde_json::Value aren’t
supported either. For JSON serialization it is preferred to use a wrapper
struct in the devtools crate instead.
Structs§
- Attr
Info - Attr
Modification - Auto
Margins - CSSError
- Computed
Node Layout - The properties of a DOM node as computed by layout.
- Console
Message - Console
Message Fields - CssDatabase
Property - Devtools
Page Info - Http
Request - Http
Response - Node
Info - Node
Style - Page
Error - Pause
Frame Result - Recommended
Breakpoint Location - Rule
Modification - Security
Info Update - Source
Info - Stack
Frame - Started
Timeline Marker - Timeline
Marker - Worker
Id
Enums§
- Chrome
ToDevtools Control Msg - Events that the devtools server must act upon.
- Console
Argument - Console
LogLevel - Devtool
Script Control Msg - 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?
- Devtools
Control Msg - Messages to instruct the devtools server to update its known actors/state according to changes in the browser.
- EvaluateJS
Reply - Serialized JS return values TODO: generalize this beyond the EvaluateJS message?
- Navigation
State - The state of a page navigation.
- Network
Event - Script
ToDevtools Control Msg - Events that the devtools server must act upon.
- Shadow
Root Mode - Timeline
Marker Type