www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit c2dd531cec4e5db65d0b02570eb36c35160c27e1
parent 4d516c68bfa6ce8f9e9be05953d92e41936a99f7
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed, 22 Jun 2016 15:45:52 -0400

Fix waitForDialog() with modal dialogs in popup windows (e.g., prefs)

Diffstat:
Mtest/content/support.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/content/support.js b/test/content/support.js @@ -74,7 +74,7 @@ function waitForWindow(uri, callback) { .QueryInterface(Components.interfaces.nsIInterfaceRequestor) .getInterface(Components.interfaces.nsIDOMWindow); // Give window code time to run on load - setTimeout(function () { + win.setTimeout(function () { if (callback) { try { // If callback is a promise, wait for it