[Laszlo-dev] best way to close the browser window from a Laszlo app?
Henry Minsky
hminsky at laszlosystems.com
Fri Dec 11 04:49:06 PST 2009
Thanks Raju!
On Fri, Dec 11, 2009 at 4:55 AM, Raju Bitter <rajubitter at me.com> wrote:
> 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
> >
> >
>
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091211/5279cf67/attachment.html
More information about the Laszlo-dev
mailing list