WebAPI/EmbeddedBrowserAPI: Difference between revisions

Jump to navigation Jump to search
Line 7: Line 7:
Example applications might be a web-based graphical shell for interacting with web apps (e.g. Gaia's home screen app) or a web browser implemented in HTML (e.g. Gaia's browser app).
Example applications might be a web-based graphical shell for interacting with web apps (e.g. Gaia's home screen app) or a web browser implemented in HTML (e.g. Gaia's browser app).


* Listen for cross-origin events - allow the outer application to catch events from the content inside the iframe, even if that content is from a different origin
* Listen for cross-origin events - allow the outer application to catch events from the content inside the iframe, even if that content is from a different origin ({{bug|710231}})
** '''Load Start''' - When the iframe starts loading a new document (needed for tracking browsing history).  Also need to know when iframe's children start loading, or do XHR, etc.
** '''Load Start''' - When the iframe starts loading a new document (needed for tracking browsing history).  Also need to know when iframe's children start loading, or do XHR, etc.
** Progress monitor - to monitor the progress of the document being loaded inside the iframe (needed to implement a progress bar)
** Progress monitor - to monitor the progress of the document being loaded inside the iframe (needed to implement a progress bar)
Confirmed users
394

edits

Navigation menu