dom/webidl/AddonEvent.webidl
author James Cheng <jacheng@mozilla.com>
Fri, 05 Aug 2016 13:23:44 -0400
changeset 308428 8ee6f2eb8b349a351f6f76585eb85e0ec2b5c475
parent 300291 291d7bedba4f501b2cf3880b7e43b9a9ec0d9f1f
child 436241 806c36cb2c4ca43e11255ce31b17e85698ce8b57
permissions -rw-r--r--
Bug 1291229 - Fix typo for moving Java bindings to mozilla::java namespace. r=jchen MozReview-Commit-ID: KGAS6EhnwAI

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