Commit Graph

23 Commits

Author SHA1 Message Date
Gijs Kruitbosch
bb3cc1f15c Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7
2016-04-28 19:51:36 +01:00
Gijs Kruitbosch
a4845b609f Backed out changesets b386e97721cf, 386b9c750bd2, 3c86861912bb (bug 1241085) because the about:newtab URI is now kept across sessions, a=backout-with-approval-from-ryanvm
MozReview-Commit-ID: EVv6M6x9F44
2016-05-05 17:45:58 +01:00
Gijs Kruitbosch
3e97b45a10 Bug 1241085 - part 2: rip out userTypedClear and replace it with more self-documenting stuff, r=mconley
userTypedClear was used for two cases:
1) to keep track of whether we were in the middle of a loadURI call. This use is replaced by inLoadURI, which is
more sane when using e10s (though it's hard to be precise there because we're sending all web navigation calls to
the content process and this introduces a degree of asynchronousness that we just have to live with...).
2) to keep track of whether we were between a network start and a corresponding network stop, and whether the user
typed since the load properly started. This is now tracked on a small object on the browser binding, which has
appropriately named method so we're not just incrementing some magic number but actually understand what
we're saying, and so the information we get out (did the user type since this load started or not?) makes sense.

Note that we're keeping userTypedClear in session store information in order to remain backwards compatible.
It becomes a simple boolean-stored-as-int (1 or 0) that indicates whether we quit/crashed/stopped while a load
was pending, or not.

MozReview-Commit-ID: 5NbmVueocC7
2016-04-28 19:51:36 +01:00
Mike Conley
78f75eb1ea Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert
MozReview-Commit-ID: 5UrQj1UUKDE
2015-12-01 14:34:25 -05:00
Kris Maglione
0eedc58ba7 Bug 1238311: Part 2 - Persist tab mutedInfo in sessionstore. r=ehsan 2016-01-26 17:05:42 -08:00
Bill McCloskey
2e2bc09867 Bug 1235379 - Eliminate deferred session storage mode (r=ttaubert) 2016-01-05 21:59:46 -08:00
Andrea Marchesini
9c383de363 Bug 1193854 - Restoring userContextIds with the browser session - part 1 - store the userContextId in sessionStore, r=smaug, r=ttaubert 2016-01-05 21:00:33 +00:00
Andrea Marchesini
ecddf6884c Bug 1236827 - Remove non-useful 'delete' in TabStore.jsm, r=ttaubert 2016-01-05 17:22:36 +00:00
Andrew McCreight
720e278561 Backed out changeset 18eec0849a1f (Bug 1195295) for leaking.
This changeset is causing shutdown leaks (bug 1234697 and bug 1220517).
2015-12-23 15:59:15 -05:00
Mike Conley
415e22c19d Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert 2015-12-01 14:34:25 -05:00
Alexandre Poirot
f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Ehsan Akhgari
0d5ec46b47 Bug 1211314 - Use tab.toggleMuteAudio() from sessionstore instead of setting the muted attribute manually on the tab; r=jaws 2015-10-14 17:21:05 -04:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Tim Taubert
ccab172ffe Bug 1173857 - Don't collect .userTypedValue for tabs that haven't fully restored yet r=billm 2015-06-11 19:07:12 +02:00
Tim Taubert
2e8392669b Bug 1167508 - Remove TabState.flush() r=billm 2015-06-09 22:11:25 +02:00
Ryan VanderMeulen
8ae1ff9f74 Backed out 7 changesets (bug 1167508) because it depends on bug 1172137, which was backed out.
Backed out changeset 5080433ff610 (bug 1167508)
Backed out changeset 97b5372b8950 (bug 1167508)
Backed out changeset 00eb943a27b2 (bug 1167508)
Backed out changeset c1a16fd640ae (bug 1167508)
Backed out changeset 092037dd209a (bug 1167508)
Backed out changeset b7ed44b4595f (bug 1167508)
Backed out changeset 3a4faf863320 (bug 1167508)
2015-06-08 14:33:53 -04:00
Tim Taubert
6d5e5c34a6 Bug 1167508 - Remove TabState.flush() r=billm 2015-05-22 02:11:03 -04:00
Tim Taubert
8d354fd5f7 Bug 1166763 - Take pinned status of the closed tab into account when merging the final update message r=billm 2015-05-20 11:15:48 -04:00
Tim Taubert
7b393146d3 Bug 1166757 - Remove browser.__SS_data r=billm 2015-05-20 10:35:50 -04:00
Tim Taubert
5bd95faeea Bug 1109875 - Don't flush state when closing tabs r=billm 2015-04-30 18:28:39 +02:00
Bill McCloskey
4be559e471 Bug 1059007 - [e10s] Use TabState.flush() in session store tests (r=ttaubert) 2014-09-23 15:48:53 -07:00
Birunthan Mohanathas
5a68dfde5b Bug 1038458 - Part 6: Flatten browser/components/sessionstore/src/ directory. r=mak 2014-07-26 09:32:08 -07:00