summaryrefslogtreecommitdiffstats
path: root/dom/webidl/TaskPriorityChangeEvent.webidl
blob: 1fc959ecb65205e48feda0280da1180a749ad475 (plain)
1
2
3
4
5
6
7
8
9
[Exposed=(Window, Worker), Pref="dom.enable_web_task_scheduling"]
interface TaskPriorityChangeEvent : Event {
  constructor (DOMString type , TaskPriorityChangeEventInit priorityChangeEventInitDict);
  readonly attribute TaskPriority previousPriority;
};

dictionary TaskPriorityChangeEventInit : EventInit {
  required TaskPriority previousPriority;
};