Re: How to add a new class as an input parameter in a idl file
Mats Palmgren <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Mike Shaver wrote:
> Help us improve this: what would have been clearer wording in that
> error message? We worked hard on that one!
How about:
Error: the method "setMyClass" must be marked [noscript] because it uses
a native type ("MyClassPtr") in a [scriptable] interface
Alternatively, "prefixed with" instead of "marked", like so:
Error: the method "setMyClass" must be prefixed with [noscript] because it uses
a native type ("MyClassPtr") in a [scriptable] interface
Regards,
Mats Palmgren