aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xmlhttprequest.rs
diff options
context:
space:
mode:
authorPrabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>2015-02-18 17:17:16 +0530
committerPrabhjyot Singh Sodhi <prabhjyotsingh95@gmail.com>2015-02-22 00:27:16 +0530
commitcc487979994ec637a3d37f9a3e5edb4a56e7a379 (patch)
tree868be0c79483be076f35006c4257c84de8958102 /components/script/dom/xmlhttprequest.rs
parentb589735b47e0c8c9b008831a776a6db38b38cd5d (diff)
downloadservo-cc487979994ec637a3d37f9a3e5edb4a56e7a379.tar.gz
servo-cc487979994ec637a3d37f9a3e5edb4a56e7a379.zip
Fixing Intermittent failure in pages with timers
Fixes #4923
Diffstat (limited to 'components/script/dom/xmlhttprequest.rs')
-rw-r--r--components/script/dom/xmlhttprequest.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/xmlhttprequest.rs b/components/script/dom/xmlhttprequest.rs
index 5bef26a7c84..b8530f5b38a 100644
--- a/components/script/dom/xmlhttprequest.rs
+++ b/components/script/dom/xmlhttprequest.rs
@@ -220,7 +220,7 @@ impl XMLHttpRequest {
xhr.process_partial_response(msg);
},
SyncOrAsync::Async(ref addr, ref script_chan) => {
- script_chan.send(ScriptMsg::RunnableMsg(box XHRProgressHandler::new(addr.clone(), msg)));
+ script_chan.send(ScriptMsg::RunnableMsg(box XHRProgressHandler::new(addr.clone(), msg))).unwrap();
}
}
}