On Nov 22, 2013 1:10 PM, "Bob Thulfram" <[email protected]> wrote:
> Try this:
>
> <DOCTYPE! html>
> <html>
> <head>
> </head>
> <body>
> <h1 onclick="window.close();">CLOSE ME</h1>
> </body>
> </html>
>
> Click on the heading "CLOSE ME". In Chrome and Safari, it closes the
window. In IE, it closes the window but asks you first. In Firefox (all
versions) it does nothing. This is a feature, not a bug. There is probably
a security feature here somewhere.

In a browser what you say is true. However for an app it should definitely
be possible to close itself at any time.

Could you file a bug on that this doesn't work?

/ Jonas
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to