xpcom/tests/TestScriptable.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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;
     9   void scriptable_method1();
    10   [noscript] void notscriptable_method1();
    11   [notxpcom] void notscriptable_method2();
    12   [noscript, notxpcom] void notscriptable_method3();
    13 };
    15 [uuid(76d74662-0eae-404c-9d1f-697c0e321c0a)]
    16 interface testNotscriptableInterface {
    17   readonly attribute long notscriptable_attr1;
    18   attribute long notscriptable_attr2;
    20   void notscriptable_method1();
    21 };

mercurial