Commit graph

8 commits

Author SHA1 Message Date
Victor Porof
1f830c96da Bug 1561435 - Format browser/components/, a=automatic-formatting
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D36042

--HG--
extra : source : d3afcafdce650a6f36cebbc126ee93b17f13cf52
2019-07-05 09:53:32 +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
Mike de Boer
6ee4299e04 Bug 1034036 - Part 6: Tests that use ss.setBrowserState() or ss.setWindowState() should wait until the window is restored to continue. r=dao
MozReview-Commit-ID: 5d1E5TjKnIR

--HG--
extra : rebase_source : be521af44edeae3f218602b4e279cfeb17ae866f
2018-04-11 12:06:12 +02:00
Mike de Boer
781f548ab2 Bug 1034036 - Part 4: move away from keeping state on the living objects, like windows, tabs and browsers, but keep it truly privately stored in WeakMaps. r=dao
NOTE: The '__SSi' and '__SS_lastSessionWindowID' properties on windows are kept,
      because they are expected to stick around longer during application shutdown.

The benefits is are:
1. Cleaner code - Sessionstore implementation details are not leaked outside its
   module.
2. Observing the lifetime of objects becomes unnecessary, because the WeakMaps are
   cleaned up when objects are GC'd, making leakage of their references impossible
   and Sessionstore can't hold objects hostage anymore.
3. Simplification - all state is now maintained in SessionStore.jsm, which allows
   for additional refactoring later on to simplify the implementation further.

MozReview-Commit-ID: C1II8qHkQ6F

--HG--
extra : rebase_source : e5fc6984558bd455a33e275f7060d42c93c21720
2018-04-11 12:06:06 +02:00
Beekill95
74e263bd4c Bug 1383073 - Move speculativeConnectOnTabHover to tabbrowser.xml so we don't have to worry about clearing mouseover listeners from tabs. r=dao.
MozReview-Commit-ID: 6Q0EvtJGEIg

--HG--
extra : rebase_source : a7f5653fb025ff845dc232da5ab3d41e858f7b79
2017-07-28 15:03:30 +07:00
Beekill95
787d320805 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : 6561a85ddeeb17cabc9fc2b4bbf2d06f3b92d8ae
2017-06-23 10:29:32 +07:00
Sebastian Hengst
0b9b3f0528 Backed out changeset b194f4fb6731 (bug 874533) 2017-07-18 18:21:40 +02:00
Beekill95
77f151c7c2 Bug 874533 - Part 2: Test connections prepared when users hover mouse on tabs or when restoring automatically. r=mikedeboer
MozReview-Commit-ID: 4rfhQF2WVwn

--HG--
extra : rebase_source : ae4df8a16964cdc0eadcddd790747037684698cf
2017-06-23 10:29:32 +07:00