After more research, window.close() is not to be supported in any version
of Firefox. It only works if YOU open a window and then later, window.
close() will close the window YOU opened. So it's not a bug, it is a
FEATURE!  (One of my favorite jokes.)


On Thu, Nov 21, 2013 at 6:02 PM, Alive <[email protected]> wrote:

> window.close() should work, what's your gecko/gaia version? And any sample
> code?
> File a bug please.
>
> Bob Thulfram <[email protected]> 於 2013/11/22 上午9:49 寫道:
>
> On Thursday, November 21, 2013 1:02:19 AM UTC-8, Bob Thulfram wrote:
>
> When I have an app running on the phone and it stops (because I killed a
> timing loop), is there a way to refresh it? If I hit the home button and
> restart the app, it just seems to come back where it was.
>
>
>
> Also, is there a way to pro grammatically through JavaScript stop an app
> from running? Or restart it?
>
>
>
> Finally, neither cancelAnimationFrame or mozCancelAnimationFrame seem to
> work. Anyone know what the story is? They work fine in the browser and in
> the emulator, but not on the 1.0 ZTE Open phone.
>
>
>
> Thanks!
>
>
> Found out window.close() doesn't work!
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
>
> --
> Alive C. Kuo, Front-end Engineer, FirefoxOS, MoCo. Taiwan, Taipei office.
> [email protected]
>
>
>
>
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to