mirror of
https://github.com/servo/servo.git
synced 2025-10-05 19:19:25 +01:00
Make the I Tried star appear when a top-level page load fails for network-related reasons.
Under the hood, this requires treating the I Tried pipeline as a new load instead of a replacement, since the failure-handling code interacts poorly with the rest of the replacement code when we get a series of staggered failures over time from the various pipeline components.
This commit is contained in:
parent
3fc2c11910
commit
be2b983ec1
5 changed files with 60 additions and 47 deletions
|
@ -172,7 +172,7 @@ impl PageTree {
|
|||
next_subpage_id: Untraceable::new(RefCell::new(SubpageId(0))),
|
||||
resize_event: Untraceable::new(RefCell::new(None)),
|
||||
fragment_node: Traceable::new(RefCell::new(None)),
|
||||
last_reflow_id: Traceable::new(RefCell::new(0))
|
||||
last_reflow_id: Traceable::new(RefCell::new(0)),
|
||||
}),
|
||||
inner: ~[],
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue