Add a new RPC call for getting a child browsing context ID

This commit is contained in:
Keith Yeung 2018-04-09 16:27:20 -07:00
parent 847115ba04
commit 4383b3053b
2 changed files with 11 additions and 0 deletions

View file

@ -90,6 +90,8 @@ pub enum ScriptMsg {
GetBrowsingContextId(PipelineId, IpcSender<Option<BrowsingContextId>>),
/// Get the parent info for a given pipeline.
GetParentInfo(PipelineId, IpcSender<Option<PipelineId>>),
/// Get the nth child browsing context ID for a given browsing context, sorted in tree order.
GetChildBrowsingContextId(BrowsingContextId, usize, IpcSender<Option<BrowsingContextId>>),
/// <head> tag finished parsing
HeadParsed,
/// All pending loads are complete, and the `load` event for this pipeline