xpcom/tests/TestScriptable.idl
author Shawn Wilsher <me@shawnwilsher.com>
Thu, 03 Feb 2011 12:11:38 -0800
branchGECKO20b9_2011011018_RELBRANCH
changeset 61906 ddf00cef28a3c514756f22046f61b1e31c9bb079
parent 12933 a100d6e900f89e908247b18e60f0f3176f5066be
permissions -rw-r--r--
closing old branch that is no longer used per bug 611030


[scriptable, uuid(76d74662-0eae-404c-9d1f-697c0e321c0a)]
interface testScriptableInterface {
  readonly attribute long scriptable_attr1;
  attribute long scriptable_attr2;
  [noscript] readonly attribute long notscriptable_attr1;
  [noscript] attribute long notscriptable_attr2;

  void scriptable_method1();
  [noscript] void notscriptable_method1();
  [notxpcom] void notscriptable_method2();
  [noscript, notxpcom] void notscriptable_method3();
};

[uuid(76d74662-0eae-404c-9d1f-697c0e321c0a)]
interface testNotscriptableInterface {
  readonly attribute long notscriptable_attr1;
  attribute long notscriptable_attr2;

  void notscriptable_method1();
};