mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Add the TaskSourceName to CommonScriptMsg::Task
Update QueuedTaskConversion and the TaskQueue to use it
This commit is contained in:
parent
b211e45bb0
commit
e286fdcc53
18 changed files with 134 additions and 71 deletions
|
@ -20,7 +20,7 @@ use task::{TaskCanceller, TaskOnce};
|
|||
// Note: When adding a task source, update this enum.
|
||||
// Note: The HistoryTraversalTaskSource is not part of this,
|
||||
// because it doesn't implement TaskSource.
|
||||
#[derive(Eq, Hash, IntoEnumIterator, JSTraceable, PartialEq)]
|
||||
#[derive(Clone, Eq, Hash, IntoEnumIterator, JSTraceable, PartialEq)]
|
||||
pub enum TaskSourceName {
|
||||
DOMManipulation,
|
||||
FileReading,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue