aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/task_source/mod.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2018-07-13 21:41:41 -0400
committerGitHub <noreply@github.com>2018-07-13 21:41:41 -0400
commit8eb2a53e20d2e27c811f79c19ec084533f7fb13e (patch)
treee67d32e7c34a91341281af0892964658b3ff2730 /components/script/task_source/mod.rs
parent3961e8d1eb1c84eb710ea32471ef594a3e3ec7eb (diff)
parentbaef63becd80d2f23f4c7f173b6a400bc5a3d52d (diff)
downloadservo-8eb2a53e20d2e27c811f79c19ec084533f7fb13e.tar.gz
servo-8eb2a53e20d2e27c811f79c19ec084533f7fb13e.zip
Auto merge of #21170 - gterzian:use_remote_event_task_source_for_eventsource, r=jdm
Use remote-event task source in EventSource <!-- Please describe your changes on the following line: --> Follow up on https://github.com/servo/servo/pull/21126, this again 'changes nothing', but will be useful for https://github.com/servo/servo/issues/21114 in the context of https://github.com/servo/servo/pull/21111. Trying to break up work into smaller PR's ;) --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #21112 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21170) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/task_source/mod.rs')
-rw-r--r--components/script/task_source/mod.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/script/task_source/mod.rs b/components/script/task_source/mod.rs
index cf605976b46..23fb3e9ca8f 100644
--- a/components/script/task_source/mod.rs
+++ b/components/script/task_source/mod.rs
@@ -8,6 +8,7 @@ pub mod file_reading;
pub mod history_traversal;
pub mod networking;
pub mod performance_timeline;
+pub mod remote_event;
pub mod user_interaction;
use dom::globalscope::GlobalScope;
@@ -26,7 +27,8 @@ pub enum TaskSourceName {
HistoryTraversal,
Networking,
PerformanceTimeline,
- UserInteraction
+ UserInteraction,
+ RemoteEvent
}
impl TaskSourceName {