TaskPriorityChangeEvent.webidl (561B)
1 /* This Source Code Form is subject to the terms of the Mozilla Public 2 * License, v. 2.0. If a copy of the MPL was not distributed with this 3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ 4 5 [Exposed=(Window, Worker), Pref="dom.enable_web_task_scheduling"] 6 interface TaskPriorityChangeEvent : Event { 7 constructor (DOMString type , TaskPriorityChangeEventInit priorityChangeEventInitDict); 8 readonly attribute TaskPriority previousPriority; 9 }; 10 11 dictionary TaskPriorityChangeEventInit : EventInit { 12 required TaskPriority previousPriority; 13 };