gecko-dev/dom/webidl/AddonEvent.webidl
Andrew Swan e5744b11cf Bug 1268077: expose AddonListener through mozAddonManager r=rhelmer,smaug
MozReview-Commit-ID: Klw4o0qIvCE

--HG--
extra : rebase_source : 4968810209d80e31e854417b30ac4129299bed4e
2016-05-27 15:43:05 -07:00

13 lines
328 B
Plaintext

[ 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;
};