diff --git a/components/net/fetch/methods.rs b/components/net/fetch/methods.rs index ebff48a80ba..052e5e31ced 100644 --- a/components/net/fetch/methods.rs +++ b/components/net/fetch/methods.rs @@ -378,9 +378,6 @@ pub fn main_fetch(request: Rc, } } - // Step 23 - request.done.set(true); - // Step 24 if let Some(ref mut target) = *target { target.process_response_eof(&response); diff --git a/components/net_traits/request.rs b/components/net_traits/request.rs index 3c780a2c5d5..05f802ea183 100644 --- a/components/net_traits/request.rs +++ b/components/net_traits/request.rs @@ -208,7 +208,6 @@ pub struct Request { pub url_list: RefCell>, pub redirect_count: Cell, pub response_tainting: Cell, - pub done: Cell, } impl Request { @@ -246,7 +245,6 @@ impl Request { url_list: RefCell::new(vec![url]), redirect_count: Cell::new(0), response_tainting: Cell::new(ResponseTainting::Basic), - done: Cell::new(false) } }