187
edits
No edit summary |
|||
Line 3: | Line 3: | ||
This is being tracked as {{bug|693515}} (alias browser-as-webapp). | This is being tracked as {{bug|693515}} (alias browser-as-webapp). | ||
== | == Functionality needed == | ||
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). | ||
Line 17: | Line 17: | ||
* Access to content - provide access to content inside the iframe | * Access to content - provide access to content inside the iframe | ||
** Get Title - Get the title of the current HTML document inside the iframe | ** Get Title - Get the title of the current HTML document inside the iframe | ||
** Get URL - Allow app to access URLs (and potentially scroll position) of resources loaded in iframes so a browsing session can be restored at a later date | ** Get URL ({{bug|708176}}) - Allow app to access URLs (and potentially scroll position) of resources loaded in iframes so a browsing session can be restored at a later date | ||
** Get favicon URL - As this can be contained inside the HTML document itself | ** Get favicon URL - As this can be contained inside the HTML document itself | ||
** Get thumbnail - Get a thumbnail image of the content of the iframe, for use in graphical window manager/tab switching type features | ** Get thumbnail - Get a thumbnail image of the content of the iframe, for use in graphical window manager/tab switching type features | ||
** Find in page - Search the text of an HTML document inside an iframe | ** Find in page - Search the text of an HTML document inside an iframe | ||
** Read history data ({{bug|708179}}) - You really don't want to re-implement session history in js, or any other language for that matter. | |||
* Control iframe - Allow programmatic control of the iframe | * Control iframe - Allow programmatic control of the iframe | ||
** Stop Load - Programatically stop the iframe from loading a document | ** Stop Load ({{bug|709759}}) - Programatically stop the iframe from loading a document | ||
** Reload - Programmatically reload the contents of the iframe | ** Reload - Programmatically reload the contents of the iframe | ||
** Zoom - Programatically make the iframe content larger or smaller | ** Zoom - Programatically make the iframe content larger or smaller | ||
Line 31: | Line 32: | ||
** '''open()''' | ** '''open()''' | ||
* Red pill / blue pill -- pages shouldn't be able to tell that they're in an HTML browser. | * Red pill / blue pill -- pages shouldn't be able to tell that they're in an HTML browser. | ||
** window.top | ** window.top should stop at the topmost browser iframe ({{bug|704037}}) | ||
== Security Model == | == Security Model == |
edits