diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-05-17 18:52:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-17 18:52:38 -0400 |
commit | 3d109b4574149e14b516cd85942d12ff82868857 (patch) | |
tree | cc0366083d34bb9d2dffe3d7e43dbe6c76b09069 /components/script_traits/script_msg.rs | |
parent | 7444270faf960d6485090354823ee964c63d3123 (diff) | |
parent | df23f909cdf0460186776e43f451233985150eab (diff) | |
download | servo-3d109b4574149e14b516cd85942d12ff82868857.tar.gz servo-3d109b4574149e14b516cd85942d12ff82868857.zip |
Auto merge of #20615 - KiChjang:window-indexed-getter, r=emilio
Implement window indexed getter
Fixes #4589.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20615)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_traits/script_msg.rs')
-rw-r--r-- | components/script_traits/script_msg.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/script_msg.rs b/components/script_traits/script_msg.rs index b14d162320d..d64d47b3eb0 100644 --- a/components/script_traits/script_msg.rs +++ b/components/script_traits/script_msg.rs @@ -87,6 +87,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 |