summaryrefslogtreecommitdiffstats
path: root/dom/webidl/AddonEvent.webidl
blob: 235f81ec22ebeb84372fe4ceef3a07a622259b31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[ Func="mozilla::AddonManagerWebAPI::IsAPIEnabled",
  Constructor(DOMString type, AddonEventInit eventInitDict)]
interface AddonEvent : Event {
  readonly attribute DOMString id;
  readonly attribute boolean needsRestart;
};

dictionary AddonEventInit : EventInit {
  required DOMString id;
  required boolean needsRestart;
};