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 <[email protected]> 
> 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
> [email protected]
> 
> 
> 
> 
> 
> -- 
> Henry Minsky
> Software Architect
> [email protected]
> 
> 

Reply via email to