[Laszlo-dev] best way to close the browser window from a Laszlo app?
Raju Bitter
rajubitter at me.com
Fri Dec 11 01:55:54 PST 2009
You can modify that setting by opening "about:config". Find the "dom.allow_scripts_to_close_windows" item in the list and double click it to make the value be equal to 'true'.
On Dec 11, 2009, at 5:43 AM, Henry Minsky wrote:
> Actually it looks like Firefox has a security policy preventing you from closing the main app window
> from javascript, unless the window was loaded via javascript in the first place.
>
>
> On Thu, Dec 10, 2009 at 10:55 PM, Henry Minsky <hminsky at laszlosystems.com> wrote:
> I'm trying to clean up the automatic test that spawns one window per unit test app. What is the best way to close the
> app's containing browser window from inside of the app when it is done with it's test?
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
>
>
More information about the Laszlo-dev
mailing list