Hi there,
I want to use document.execCommand("cut") / document.execCommand("copy") /
document.execCommand("paste") within my packaged FirefoxOS app, but the console
says the following: "NS_ERROR_DOM_XPCONNECT_ACCESS_DENIED: Access to XPConnect
service denied @ app[...]"
The message is very clear: I have no permission to execute the command. Is
there a way to ask [the user] for permission?
I've searched but found nothing. I know how to handle this permissions:
https://developer.mozilla.org/en-US/docs/Web/Apps/App_permissions
"systemXHR" and "device-storage:sdcard" works well for me, but like said I see
no way how to ask for permission to use the document.execCommand function. Btw,
document.execCommand("undo") does work. Just cut, copy and paste does not work,
because of the permission issue.
Thank you for a hint,
Simon
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g