Security/B2G/Browser API: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 8: Line 8:
}}
}}
[[Category:WebApi]]
[[Category:WebApi]]
This is a proposal for a Browser API and a new HTML element called "<browser>", which is similar to an iframe but allows the implementation of a fully featured web browser as a web app.
===Background===
===Background===
Goals
Goals
* Provide support so that a Browser can be implemented as a Web App
* Provide support so that a Browser can be implemented as a Web App
* Implemented as new type of iframe which provides limited cross-origin access so that a page embedding this iframe can act like a web browser.
* Makes the iframe appear like a top-level browser window to the embedded content
* Being implemented with a minimal set of APIs to
* Provide an API for parent page to manipulate and listen for changes of the embedded content's state.
 
Specification:
Specification:
* https://wiki.mozilla.org/WebAPI/BrowserAPI
* https://wiki.mozilla.org/WebAPI/BrowserAPI
Line 18: Line 24:
* https://bugzilla.mozilla.org/show_bug.cgi?id=693515
* https://bugzilla.mozilla.org/show_bug.cgi?id=693515
Pages:
Pages:
* https://developer.mozilla.org/en-US/docs/DOM/Using_the_Browser_API
Source:
Source:
* http://mxr.mozilla.org/mozilla-central/source/dom/browser-element
===Data Flow Diagram===
===Data Flow Diagram===
===Answered Questions===
===Answered Questions===
===Open Questions===
===Open Questions===
canmove, Confirmed users
1,220

edits