diff options
author | Josh Matthews <josh@joshmatthews.net> | 2014-04-21 12:24:03 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2014-04-24 01:07:52 -0400 |
commit | be2b983ec199f63f3f6011e1a94b19d517ccda4f (patch) | |
tree | 2ea1709cf400a1d1b00a75a5927b6f93677333af /src/components/script/script_task.rs | |
parent | 3fc2c119103ce743bda53d1ef25c360bc6c713a7 (diff) | |
download | servo-be2b983ec199f63f3f6011e1a94b19d517ccda4f.tar.gz servo-be2b983ec199f63f3f6011e1a94b19d517ccda4f.zip |
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.
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index a78108c057a..13d6c11c0f6 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -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: ~[], } |