aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2016-03-23 17:49:03 -0700
committerPatrick Walton <pcwalton@mimiga.net>2016-04-28 10:53:13 -0700
commit7bd257089c38489ded7d8d84493406c321c1f16f (patch)
treed2be850caffa2862ec5bf9f73b4c368cb68f95af /components/script_traits/lib.rs
parentc011c3197d61d64274d151d8bad85216d3b85041 (diff)
downloadservo-7bd257089c38489ded7d8d84493406c321c1f16f.tar.gz
servo-7bd257089c38489ded7d8d84493406c321c1f16f.zip
script: Make iframes know their pipeline IDs at all times, even after
navigation. Since WebRender uses the pipeline ID stored in the iframe element to determine which pipeline to display, it had better be kept up to date! Closes #9919.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 46c3e860643..523356e1e90 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -128,8 +128,8 @@ pub enum ConstellationControlMsg {
Navigate(PipelineId, SubpageId, LoadData),
/// Requests the script thread forward a mozbrowser event to an iframe it owns
MozBrowserEvent(PipelineId, SubpageId, MozBrowserEvent),
- /// Updates the current subpage id of a given iframe
- UpdateSubpageId(PipelineId, SubpageId, SubpageId),
+ /// Updates the current subpage and pipeline IDs of a given iframe
+ UpdateSubpageId(PipelineId, SubpageId, SubpageId, PipelineId),
/// Set an iframe to be focused. Used when an element in an iframe gains focus.
FocusIFrame(PipelineId, SubpageId),
/// Passes a webdriver command to the script thread for execution