diff --git a/addon-sdk/source/lib/sdk/windows/firefox.js b/addon-sdk/source/lib/sdk/windows/firefox.js index 0c44927157cc7..1eb1d8488bf55 100644 --- a/addon-sdk/source/lib/sdk/windows/firefox.js +++ b/addon-sdk/source/lib/sdk/windows/firefox.js @@ -182,7 +182,7 @@ function makeNewWindow(domWindow, browserHint = false) { return new Window(domWindow); } -for (let domWindow of windows()) { +for (let domWindow of windows(null, {includePrivate: supportPrivateWindows})) { let window = makeNewWindow(domWindow); if (window instanceof BrowserWindow) addListItem(browserWindows, window);