xpcom/tests/TestScriptable.idl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:b6b7bddd0c27
1
2 [scriptable, uuid(76d74662-0eae-404c-9d1f-697c0e321c0a)]
3 interface testScriptableInterface {
4 readonly attribute long scriptable_attr1;
5 attribute long scriptable_attr2;
6 [noscript] readonly attribute long notscriptable_attr1;
7 [noscript] attribute long notscriptable_attr2;
8
9 void scriptable_method1();
10 [noscript] void notscriptable_method1();
11 [notxpcom] void notscriptable_method2();
12 [noscript, notxpcom] void notscriptable_method3();
13 };
14
15 [uuid(76d74662-0eae-404c-9d1f-697c0e321c0a)]
16 interface testNotscriptableInterface {
17 readonly attribute long notscriptable_attr1;
18 attribute long notscriptable_attr2;
19
20 void notscriptable_method1();
21 };

mercurial