2023-11-06 13:18:23 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2019-09-27 18:26:14 +03:00
|
|
|
[Func="mozilla::AddonManagerWebAPI::IsAPIEnabled",
|
|
|
|
Exposed=Window]
|
2016-05-28 01:43:05 +03:00
|
|
|
interface AddonEvent : Event {
|
2019-09-11 17:35:28 +03:00
|
|
|
constructor(DOMString type, AddonEventInit eventInitDict);
|
|
|
|
|
2016-05-28 01:43:05 +03:00
|
|
|
readonly attribute DOMString id;
|
|
|
|
};
|
|
|
|
|
|
|
|
dictionary AddonEventInit : EventInit {
|
|
|
|
required DOMString id;
|
|
|
|
};
|