On Mon, Nov 9, 2015 at 12:31 PM, Kumar Rishav <[email protected]> wrote:

> I meant, if i want to use some method of an object (which belong to host
> app), Do i have to include that
> file name (where that method resides) in the content_Script ?
>


Ah I see. No, don't do that. The script you are including and the one from
the hosted app will live in two different worlds and so won't be compatible
with each other, no the rest of the webapp. Try using wrappedJSObject.
_______________________________________________
dev-fxos mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-fxos

Reply via email to