Gijs Kruitbosch
a0bf942503
Bug 1496360 - make BrowserWindowTracker and its deps use the docshell to obtain an outerWindowID, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D11003
--HG--
extra : moz-landing-system : lando
2018-11-06 09:48:46 +00:00
savvysiddharth
e2553af6ae
Bug 1494276 - Removed unused hasFocus parameter from WindowHelper.onActivate;r=dao
...
hasFocus parameter was unused in BrowserWindowTracker.jsm
Differential Revision: https://phabricator.services.mozilla.com/D7237
--HG--
extra : moz-landing-system : lando
2018-09-29 09:39:57 +00:00
Gijs Kruitbosch
10714b6c62
Bug 1493628 - only update the 'current' outerWindowID when the browser window is the foreground window, r=dao
...
Differential Revision: https://phabricator.services.mozilla.com/D6898
--HG--
extra : moz-landing-system : lando
2018-09-26 11:57:07 +00:00
Dão Gottwald
87b1e322e2
Bug 1489552 - Let BrowserWindowTracker.getTopWindow use the module's internal window list instead of nsIWindowMediator::getZOrderDOMWindowEnumerator / getMostRecentWindow. r=nhnt11
2018-09-10 22:27:38 +02:00
Mark Banner
691543ee89
Bug 1486739 - Add missing dangling commas in browser/, services/, taskcluster/ and toolkit/. r=mossop
...
Automatic changes by ESLint, except for manual corrections for .xml files.
Differential Revision: https://phabricator.services.mozilla.com/D4439
--HG--
extra : moz-landing-system : lando
2018-08-31 05:59:17 +00:00
Kris Maglione
80327d3561
Bug 1484496: Part 5a - Convert browser/ nsISimpleEnumerator users to use JS iteration. r=Gijs
...
Differential Revision: https://phabricator.services.mozilla.com/D3729
--HG--
extra : rebase_source : e187b8e9a6b6db7ebc762adda5e489b25c7a7e43
extra : histedit_source : 868cb99d09954a51d6be321fcb516475ef70eb33
2018-08-18 19:27:33 -07:00
Adam Gashlin
54b423cf8e
Bug 1466071: Part 1: Prevent orderedWindows from changing while iterating. r=mikedeboer
...
--HG--
extra : histedit_source : fb13804cd558861c9a483a10e8451c571c4325c4
2018-06-05 13:47:58 -07:00
Mike de Boer
43e19414f5
Bug 1034036 - Part 3: start tracking windows activations to always be aware of their respective order. This allows consumers to iterate over a set of windows in order of appearance (e.g. z-order). r=dao
...
Tests are also added here for the legacy `getTopWindow` method to guard against
basic regressions.
We now start tracking browser windows right after the DOMContentLoaded event, which
is earlier than before. We now also assume that any newly tracked window has the
focus initially, which is closer to the nsIWindowMediator semantics.
MozReview-Commit-ID: 6QYJqA1tMPC
--HG--
extra : rebase_source : e04e567cf31d1a10e78647d75403b700bc65136b
2018-04-11 12:06:03 +02:00
Mike de Boer
ecf63670d4
Bug 1034036 - Part 2: Rename and shorten getMostRecentBrowserWindow
to getTopWindow
and modernize the style used in BrowserWindowTracker.jsm. r=dao
...
MozReview-Commit-ID: EvgAhq4uR3a
--HG--
extra : rebase_source : 8fd8040cd1eee94675d4e9ca0c8ccc60db9e1bf7
2018-04-11 12:05:59 +02:00
Mike de Boer
d16ee58ded
Bug 1034036 - Part 1: Merge RecentWindow.jsm and UpdateTopLevelContentWindowIDHelper.jsm into one module called 'BrowserWindowTracker.jsm'. r=dao
...
MozReview-Commit-ID: 9qzq1aGvjDu
--HG--
rename : browser/modules/UpdateTopLevelContentWindowIDHelper.jsm => browser/modules/BrowserWindowTracker.jsm
extra : rebase_source : 9c4a728e13fd691d377e7f221c5632646115daca
2018-04-11 12:05:56 +02:00