Make nested browsing context navigations check the loaded status of the active document of the nested browsing context.

This commit is contained in:
Josh Matthews 2019-03-07 18:59:57 -05:00
parent edfd15c36f
commit c2ce7d72a1
8 changed files with 99 additions and 5 deletions

View file

@ -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);