window.close() worked for me, thanks for the responses!
If you need some examples on how to use this you can have a look at the recently landed wappush app in Gaia. There we use window.close() on a number of paths to automatically dismiss the application with minimal user intervention (e.g. when the app goes into the background, when an activity starts and hides it, etc...).
Gabriele _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
