Bug 1045115 - Uplift Add-on SDK to Firefox r=me
This commit is contained in:
@@ -40,7 +40,7 @@ const browserWindows = exports.browserWindows = BrowserWindows();
|
||||
* registered, `null` otherwise.
|
||||
*/
|
||||
function getRegisteredWindow(chromeWindow) {
|
||||
for each (let window in browserWindows) {
|
||||
for (let window of browserWindows) {
|
||||
if (chromeWindow === windowNS(window).window)
|
||||
return window;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user