aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/pipeline.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2019-03-07 18:59:57 -0500
committerJosh Matthews <josh@joshmatthews.net>2019-03-07 19:01:54 -0500
commitc2ce7d72a12f814db3feec6c622e2c1bfe7f2691 (patch)
treeb3dcfc911c31e7a2ef42b555cc8c61db9077f694 /components/constellation/pipeline.rs
parentedfd15c36f9c050512ebdfab3553cd3a7f6ff06f (diff)
downloadservo-c2ce7d72a12f814db3feec6c622e2c1bfe7f2691.tar.gz
servo-c2ce7d72a12f814db3feec6c622e2c1bfe7f2691.zip
Make nested browsing context navigations check the loaded status of the active document of the nested browsing context.
Diffstat (limited to 'components/constellation/pipeline.rs')
-rw-r--r--components/constellation/pipeline.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/components/constellation/pipeline.rs b/components/constellation/pipeline.rs
index c8b5f4fc73c..be369c0c08e 100644
--- a/components/constellation/pipeline.rs
+++ b/components/constellation/pipeline.rs
@@ -89,6 +89,9 @@ pub struct Pipeline {
/// The history states owned by this pipeline.
pub history_states: HashSet<HistoryStateId>,
+
+ /// Has this pipeline received a notification that it is completely loaded?
+ pub completely_loaded: bool,
}
/// Initial setup data needed to construct a pipeline.
@@ -355,6 +358,7 @@ impl Pipeline {
load_data: load_data,
history_state_id: None,
history_states: HashSet::new(),
+ completely_loaded: false,
};
pipeline.notify_visibility(is_visible);