Gaia/Browser
< Gaia
Jump to navigation
Jump to search
The Gaia Browser app is a web browser implemented as a web app, for the front end of B2G
Status
- Feature Name: Gaia Browser App
- Stage: Development
- Release Target: B2G Demo Phone, Q1 2012
Team
- Front End Developer: Ben Francis
- DOM API: Justin Lebar
- UX: Josh Carpenter & Trond Werner Hansen
- Product Manager: Chris Lee
- Tech Lead: Chris Jones
- Reviewers: Olli Pettay (back end), Vivien Nicolas (front end)
Issues & Risks
- Browser content doesn't scroll with touch events
- Need to make popup windows (e.g. alert, authentication and window.open) work bug 716664
- Need a better solution for ignoring X-Frame-Options headers for <iframe mozbrowser> elements (B2G currently just has a pref which disables them for whitelisted domains)
- Find a way to use the iframe's window.history instead of having to re-implement the history API inside the app. (some discussion in bug 708179)
- Some UX Unknowns (see Design section)
- Window.top should stop at the iFrame to prevent parent navigation & frame busting (bug 704037)
Definition
User Stories
- Navigate to URL
- Back & Forward
- Stop
- Reload
- Browser Title & URL Update on Navigate
- New Tab
- Switch Tab
- Close Tab
Dependencies
Largely dependent on a new Browser API bug 693515
- mozbrowser{loadstart,loadend,locationchange} events for <iframe mozbrowser> bug 710231
- titlechange event bug 719459
- iconchange event bug 719461
- stop method bug 709759
Design
The current intention is to mimic Fennec Native UI as closely as possible, but further UX input will address:
- Where the back button goes
- Where the menu button goes
- Any Gaia-specific theming
- Whether to implement bookmarks at the browser level or at the homescreen level
- Whether to move tab management to the homescreen level
- Whether there should be an "awesomescreen" at the browser level or the homescreen level here
Mockup of a simple Fennec-like address bar:
