On 09/09/2015 04:39 PM, Sammy Patenotte wrote:
> Hi Fabrice,
> Thank you for your quick answer! I'm trying to use this component in
> /gecko/b2g/components/ContentPermissionPrompt.js where, I believe, all
> permission requests go through. Since it's not a WebIDL, where should I put
> my IDL file?
> The MDN page I based my code on was this one:
> https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XPCOM/Guide/Building_components_in_JavaScript
Since it's b2g specific, you can keep it in b2g/components/
Fabrice
--
Fabrice Desré
b2g team
Mozilla Corporation
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g