尝试在 XUL 中使用 window.open 打开窗口时引发异常。异常详情:Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMJSWindow.open]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location:
抛出异常的代码行是:
newWind = window.open(settings.url, "Dialog", "chrome = yes, width=" +
settings.width + ",height=" + settings.height +
",resizable = yes,scrollbars=yes");
谁能告诉我如何解决这个问题。