mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Make nested browsing context navigations check the loaded status of the active document of the nested browsing context.
This commit is contained in:
parent
edfd15c36f
commit
c2ce7d72a1
8 changed files with 99 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue