Skip to main content

WorkerDevtoolsControlMsg

Type Alias WorkerDevtoolsControlMsg 

Source
pub(crate) type WorkerDevtoolsControlMsg = DevtoolScriptControlMsg;

Aliased Type§

pub(crate) enum WorkerDevtoolsControlMsg {
Show 36 variants GetRootNode(NamespaceIndex<PipelineIndex>, GenericSender<Option<NodeInfo>>), GetDocumentElement(NamespaceIndex<PipelineIndex>, GenericSender<Option<NodeInfo>>), GetChildren(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeInfo>>>), GetAttributeStyle(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeStyle>>>), GetStylesheetStyle(NamespaceIndex<PipelineIndex>, String, MatchedRule, GenericSender<Option<Vec<NodeStyle>>>), GetStyleSheets(NamespaceIndex<PipelineIndex>, GenericSender<Vec<StyleSheetInfo>>), GetStyleSheetText(NamespaceIndex<PipelineIndex>, i32, GenericSender<Option<String>>), GetSelectors(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<MatchedRule>>>), GetComputedStyle(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeStyle>>>), GetEventListenerInfo(NamespaceIndex<PipelineIndex>, String, GenericSender<Vec<EventListenerInfo>>), GetLayout(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<(ComputedNodeLayout, AutoMargins)>>), GetXPath(NamespaceIndex<PipelineIndex>, String, GenericSender<String>), GetInnerOrOuterHTML(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<String>>, GetHTMLType), ModifyAttribute(NamespaceIndex<PipelineIndex>, String, Vec<AttrModification>), ModifyRule(NamespaceIndex<PipelineIndex>, String, Vec<RuleModification>), WantsLiveNotifications(NamespaceIndex<PipelineIndex>, bool), SetTimelineMarkers(NamespaceIndex<PipelineIndex>, Vec<TimelineMarkerType>, GenericSender<Option<TimelineMarker>>), DropTimelineMarkers(NamespaceIndex<PipelineIndex>, Vec<TimelineMarkerType>), RequestAnimationFrame(NamespaceIndex<PipelineIndex>, String), NavigateTo(NamespaceIndex<PipelineIndex>, ServoUrl), GoBack(NamespaceIndex<PipelineIndex>), GoForward(NamespaceIndex<PipelineIndex>), Reload(NamespaceIndex<PipelineIndex>), GetCssDatabase(GenericSender<HashMap<String, CssDatabaseProperty>>), SimulateColorScheme(NamespaceIndex<PipelineIndex>, Option<Theme>), HighlightDomNode(NamespaceIndex<PipelineIndex>, Option<String>), Eval(String, NamespaceIndex<PipelineIndex>, Option<String>, bool, GenericSender<EvaluateJSReply>), GetPossibleBreakpoints(u32, GenericSender<Vec<RecommendedBreakpointLocation>>), SetBreakpoint(u32, u32, u32), ClearBreakpoint(u32, u32, u32), Interrupt, Resume(Option<String>, Option<String>), ListFrames(NamespaceIndex<PipelineIndex>, u32, u32, GenericSender<Vec<String>>), GetEnvironment(GetEnvironmentRequest, GenericSender<String>), Blackbox(u32, BlackboxCoverage), Unblackbox(u32, BlackboxCoverage),
}

Variants§

§

GetRootNode(NamespaceIndex<PipelineIndex>, GenericSender<Option<NodeInfo>>)

Retrieve the details of the root node (ie. the document) for the given pipeline.

§

GetDocumentElement(NamespaceIndex<PipelineIndex>, GenericSender<Option<NodeInfo>>)

Retrieve the details of the document element for the given pipeline.

§

GetChildren(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeInfo>>>)

Retrieve the details of the child nodes of the given node in the given pipeline.

§

GetAttributeStyle(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeStyle>>>)

Retrieve the CSS style properties defined in the attribute tag for the given node.

§

GetStylesheetStyle(NamespaceIndex<PipelineIndex>, String, MatchedRule, GenericSender<Option<Vec<NodeStyle>>>)

Retrieve the CSS style properties defined in an stylesheet for the given selector.

§

GetStyleSheets(NamespaceIndex<PipelineIndex>, GenericSender<Vec<StyleSheetInfo>>)

Retrieve the list of stylesheets for the given pipeline and node.

§

GetStyleSheetText(NamespaceIndex<PipelineIndex>, i32, GenericSender<Option<String>>)

Retrieve the actual CSS text for the stylesheet with the given node ID and index.

§

GetSelectors(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<MatchedRule>>>)

Retrieves the CSS selectors for the given node. A selector is comprised of the text of the selector and the id of the stylesheet that contains it.

§

GetComputedStyle(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<Vec<NodeStyle>>>)

Retrieve the computed CSS style properties for the given node.

§

GetEventListenerInfo(NamespaceIndex<PipelineIndex>, String, GenericSender<Vec<EventListenerInfo>>)

Get information about event listeners on a node.

§

GetLayout(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<(ComputedNodeLayout, AutoMargins)>>)

Retrieve the computed layout properties of the given node in the given pipeline.

§

GetXPath(NamespaceIndex<PipelineIndex>, String, GenericSender<String>)

Get a unique XPath selector for the node.

§

GetInnerOrOuterHTML(NamespaceIndex<PipelineIndex>, String, GenericSender<Option<String>>, GetHTMLType)

Get inner/outer HTML on a node.

§

ModifyAttribute(NamespaceIndex<PipelineIndex>, String, Vec<AttrModification>)

Update a given node’s attributes with a list of modifications.

§

ModifyRule(NamespaceIndex<PipelineIndex>, String, Vec<RuleModification>)

Update a given node’s style rules with a list of modifications.

§

WantsLiveNotifications(NamespaceIndex<PipelineIndex>, bool)

Request live console messages for a given pipeline (true if desired, false otherwise).

§

SetTimelineMarkers(NamespaceIndex<PipelineIndex>, Vec<TimelineMarkerType>, GenericSender<Option<TimelineMarker>>)

Request live notifications for a given set of timeline events for a given pipeline.

§

DropTimelineMarkers(NamespaceIndex<PipelineIndex>, Vec<TimelineMarkerType>)

Withdraw request for live timeline notifications for a given pipeline.

§

RequestAnimationFrame(NamespaceIndex<PipelineIndex>, String)

Request a callback directed at the given actor name from the next animation frame executed in the given pipeline.

§

NavigateTo(NamespaceIndex<PipelineIndex>, ServoUrl)

Direct the WebView containing the given pipeline to load a new URL, as if it was typed by the user.

§

GoBack(NamespaceIndex<PipelineIndex>)

Direct the WebView containing the given pipeline to traverse history backward up to one step.

§

GoForward(NamespaceIndex<PipelineIndex>)

Direct the WebView containing the given pipeline to traverse history forward up to one step.

§

Reload(NamespaceIndex<PipelineIndex>)

Direct the given pipeline to reload the current page.

§

GetCssDatabase(GenericSender<HashMap<String, CssDatabaseProperty>>)

Gets the list of all allowed CSS rules and possible values.

§

SimulateColorScheme(NamespaceIndex<PipelineIndex>, Option<Theme>)

Simulates a light or dark color scheme for the given pipeline

§

HighlightDomNode(NamespaceIndex<PipelineIndex>, Option<String>)

Highlight the given DOM node

§

Eval(String, NamespaceIndex<PipelineIndex>, Option<String>, bool, GenericSender<EvaluateJSReply>)

§

GetPossibleBreakpoints(u32, GenericSender<Vec<RecommendedBreakpointLocation>>)

§

SetBreakpoint(u32, u32, u32)

§

ClearBreakpoint(u32, u32, u32)

§

Interrupt

§

Resume(Option<String>, Option<String>)

§

ListFrames(NamespaceIndex<PipelineIndex>, u32, u32, GenericSender<Vec<String>>)

§

GetEnvironment(GetEnvironmentRequest, GenericSender<String>)

§

Blackbox(u32, BlackboxCoverage)

§

Unblackbox(u32, BlackboxCoverage)