Increase size of browser window during tests

Makes it easier to manually increase Zotero pane before a timeout while
debugging (though the page should just be made bigger by default)
This commit is contained in:
Dan Stillman 2017-02-27 04:54:11 -05:00
parent d0a1ac9677
commit a35d903e77

View file

@ -35,7 +35,7 @@ function loadWindow(winurl, argument) {
* @return {Promise<ChromeWindow>} * @return {Promise<ChromeWindow>}
*/ */
function loadBrowserWindow() { function loadBrowserWindow() {
var win = window.openDialog("chrome://browser/content/browser.xul", "", "all,height=400,width=1000"); var win = window.openDialog("chrome://browser/content/browser.xul", "", "all,height=700,width=1000");
return waitForDOMEvent(win, "load").then(function() { return waitForDOMEvent(win, "load").then(function() {
return win; return win;
}); });