Confirmed users
76
edits
Line 4: | Line 4: | ||
==Use case== | ==Use case== | ||
==Proposal== | ==Proposal== | ||
===embed-widgets === | === embed-widgets {{bug|1005818}} === | ||
In order to expose to privileged APPs and consider security issue.<br /> | In order to expose to privileged APPs and consider security issue.<br /> | ||
"embed-widgets" is a new permission for "mozapp" attribute, it comes from 'embed-apps' but is more restricted. | * "embed-widgets" is a new permission for "mozapp" attribute, it comes from [https://developer.mozilla.org/en-US/Apps/Build/App_permissions#embed-apps 'embed-apps'] but is more restricted.Disallow some of Browser API that embedder can not receive events and use those. | ||
<iframe mozapp="manifesturl" | * Set manifest entry in "widget" attribute. | ||
<iframe mozapp="manifesturl" widget="mywidget1"> | |||
===extend manifest.webapp=== | ===extend manifest.webapp=== |