title: Opening a window in XUL
body: <p>An exception is being thrown when trying to open a window using window.open in XUL. The exception details: <code>Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location:</code> </p>
  
  <p>The line of code throwing the exception is:</p>
  
  <pre><code>newWind = window.open(settings.url, "Dialog", "chrome = yes, width=" + 
            settings.width + ",height=" + settings.height + 
            ",resizable = yes,scrollbars=yes");
  </code></pre>
  
  <p>Can anyone please tell me how to get round this problem.</p>