Using exposedProps to expose NetExport to the content is deprecated use the following construct instead:
var protectedFunctions = XPCNativeWrapper.unwrap(Cu.createObjectIn(win));
for (var p in functions)
protectedFunctions[p] = protect(functions[p]);
Cu.makeObjectPropsNormal(protectedFunctions);
win.wrappedJSObject.NetExport = protectedFunctions;
Using exposedProps to expose
NetExport
to the content is deprecated use the following construct instead: