dom/webidl/AddonEvent.webidl
author Andrew Swan <aswan@mozilla.com>
Fri, 27 May 2016 15:43:05 -0700
changeset 300291 291d7bedba4f501b2cf3880b7e43b9a9ec0d9f1f
child 436241 806c36cb2c4ca43e11255ce31b17e85698ce8b57
permissions -rw-r--r--
Bug 1268077: expose AddonListener through mozAddonManager r=rhelmer,smaug MozReview-Commit-ID: Klw4o0qIvCE

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