Skip to content

Commit

Permalink
Bug 1224863 - Make addon-sdk windows module include private browsing …
Browse files Browse the repository at this point in the history
…windows in browserWindows. r=bkelly

DONTBUILD
  • Loading branch information
PerfectSlayer committed Aug 17, 2016
1 parent a951eb8 commit 841504d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon-sdk/source/lib/sdk/windows/firefox.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 841504d

Please sign in to comment.