drop deprecated windowType from windows.get()

This commit is contained in:
Raymond Hill 2018-12-14 14:15:43 -05:00
parent c0aa325f6c
commit 932c13bfa0
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -1161,10 +1161,7 @@ const getLoggerData = function(details, activeTabId, callback) {
tabs => {
if ( Array.isArray(tabs) === false ) { return; }
if ( tabs.length === 0 ) { return; }
browser.windows.get(
tabs[0].windowId,
{ windowTypes: [ 'popup' ] },
win => {
browser.windows.get(tabs[0].windowId, win => {
if ( win instanceof Object === false ) { return; }
vAPI.localStorage.setItem(
'popupLoggerBox',
@ -1175,8 +1172,7 @@ const getLoggerData = function(details, activeTabId, callback) {
height: win.height,
})
);
}
);
});
}
);
}