WebAPI/WidgetAPI: Difference between revisions

Line 3: Line 3:
==Use case==
==Use case==
==Proposal==
==Proposal==
*embed-widgets {{bug|1005818}}
===embed-widgets ===
New permission to allow 3rd-part APPs have ability to open 'widgets' in their own APP. {{bug|1005818}}
   <iframe mozapp="manifesturl" mozwidget="mywidget1">  
   <iframe mozapp="manifesturl" mozwidget="mywidget1">  
*extend manifest.webapp
===extend manifest.webapp===
Declare details of widget in mainfest.
 
   {
   {
     name: "MyApp2000",
     name: "MyApp2000",
Line 17: Line 20:
       "myotherwidget": { ... }
       "myotherwidget": { ... }
     }
     }
   }  
   }
 
==Restriction==
==Restriction==


Confirmed users
76

edits