Bug 1842773 - Part 5: Add ArrayBuffer.prototype.{maxByteLength,resizable} getters...
[gecko.git] / dom / webidl / TaskPriorityChangeEvent.webidl
blob8a75657511cedb2f757ec6297104089bf917708d
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/. */
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 };
11 dictionary TaskPriorityChangeEventInit : EventInit {
12   required TaskPriority previousPriority;