xpcom/tests/TestScriptable.idl

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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