- use interCaps
- don't use out parameters when they're not needed
- fix JS to match (C++ signatures have not changed)
patch contributed by the always generous Sammy Ford <fuzed@swbell.net>
Thanks!
r=alecf
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].
This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.
As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout. As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.