aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_task.rs
diff options
context:
space:
mode:
authorbenshu <benshu@benshu.de>2015-11-11 23:12:07 +0100
committerbenshu <benshu@benshu.de>2015-11-11 23:12:07 +0100
commit7623e895064843f33a0cd93080001480113cb20a (patch)
tree16743d6f04e786a3f0b763d7a84cb9e89d9f9b61 /components/script/script_task.rs
parent12f6ba29a74029fa8c83cc7274181d441e1e52dd (diff)
downloadservo-7623e895064843f33a0cd93080001480113cb20a.tar.gz
servo-7623e895064843f33a0cd93080001480113cb20a.zip
Execute XHR timeout callbacks directly. (Fixes #8468.)
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r--components/script/script_task.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs
index 28e194b2a4a..99312a61bd6 100644
--- a/components/script/script_task.rs
+++ b/components/script/script_task.rs
@@ -236,7 +236,6 @@ pub enum ScriptTaskEventCategory {
SetViewport,
WebSocketEvent,
WorkerEvent,
- XhrEvent,
}
/// Messages used to control the script event loop
@@ -954,7 +953,6 @@ impl ScriptTask {
ScriptTaskEventCategory::TimerEvent => ProfilerCategory::ScriptTimerEvent,
ScriptTaskEventCategory::WebSocketEvent => ProfilerCategory::ScriptWebSocketEvent,
ScriptTaskEventCategory::WorkerEvent => ProfilerCategory::ScriptWorkerEvent,
- ScriptTaskEventCategory::XhrEvent => ProfilerCategory::ScriptXhrEvent,
};
profile(profiler_cat, None, self.time_profiler_chan.clone(), f)
} else {