Can you do that in content mode?
On Mon, Oct 21, 2013 at 3:07 PM, Vivien Nicolas <[email protected]>wrote: > window.close() likely. > > > On 21/10/2013 21:05, Elvis Pfutzenreuter wrote: > >> Is there any way for an app to close itself? I found things like >> attributing a new URL to location.href, but this keeps the new >> URL opened under app's "shell". >> >> Context: if app receipt validation fails, the user needs to make >> some action (e.g. enabling network, installing from Marketplace) >> and then restart the app. It would be best if the app closes instead >> of forcing the user of using the long-press on Home button. >> ______________________________**_________________ >> dev-b2g mailing list >> [email protected] >> https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/listinfo/dev-b2g> >> >> ______________________________**_________________ > dev-b2g mailing list > [email protected] > https://lists.mozilla.org/**listinfo/dev-b2g<https://lists.mozilla.org/listinfo/dev-b2g> > -- Best, Gareth _______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
