xpcom/tests/TestScriptable.idl
author Bas Schouten <bschouten@mozilla.com>
Mon, 16 Aug 2010 09:15:03 +0200
changeset 50660 3fc41668b25c0c748671964328c5310df4377eda
parent 12933 a100d6e900f89e908247b18e60f0f3176f5066be
permissions -rw-r--r--
Fix line-endings in gfxWindowsPlatform.


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