Comment on attachment 637885 Adds JS nativeHandler attribute for nsIBaseWindow
Review of attachment 637885: -----------------------------------------------------------------
::: widget/nsIBaseWindow.idl @@ +163,5 @@ > + > + @throws NS_ERROR_NOT_IMPLEMENTED for non-toplevel widgets, or > + NS_ERROR_UNEXPECTED if conversion fails > + */ > + [implicit_jscontext] readonly attribute jsval nativeHandle;
Why not declare it as a DOMString instead of a jsval?
Comment on attachment 637885
Adds JS nativeHandler attribute for nsIBaseWindow
Review of attachment 637885: ------- ------- ------- ------- ------- ------- ------- ------- --
-------
::: widget/ nsIBaseWindow. idl NOT_IMPLEMENTED for non-toplevel widgets, or jscontext] readonly attribute jsval nativeHandle;
@@ +163,5 @@
> +
> + @throws NS_ERROR_
> + NS_ERROR_UNEXPECTED if conversion fails
> + */
> + [implicit_
Why not declare it as a DOMString instead of a jsval?