Commit graph

174 commits

Author SHA1 Message Date
Jonathan Kew
46b5136c09 Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk 2015-12-03 13:19:50 +00:00
Till Schneidereit
5dec54d943 Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster
--HG--
extra : rebase_source : ef9f83be96af75ee25f8e9fb90ce2b84ab3689bd
2016-01-04 13:06:50 +01:00
David Rajchenbach-Teller
877c534907 Bug 1214158 - New module StartupPerformance to monitor the duration of restoration of initial tabs;r=mconley
--HG--
extra : rebase_source : 862330eecf29d2eb88ddbfbb8f9d73b205f1e1e7
2015-11-26 18:01:56 +01:00
Shu-yu Guo
1768759efb Bug 1220564 - Update chrome code uses of genexprs and legacy comprehensions. (r=billm) 2016-01-06 16:02:16 -08:00
Andrea Marchesini
d1a7df53c6 Bug 1193854 - Restoring userContextIds with the browser session - part 2 - restore the UI, r=ttaubert 2016-01-05 21:01:13 +00:00
Andrew McCreight
0f12a580d4 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
f2127e9ebb Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert
--HG--
extra : commitid : 20kUFlNpMz6
extra : rebase_source : 89f89eea235b8a68f6c76e3324909be7d7da0ede
2015-12-01 14:34:25 -05:00
Mike Conley
904acbd272 Bug 1225921 - Have SessionStore keep a list of window data that might be saved during a flush. r=billm
This helps us keep track of what windows we've chosen to forget, and helps
us avoid the problem of accidentally saving a window we've chosen to forget.

--HG--
extra : commitid : 4sAF1DKyhKp
extra : rebase_source : c1e967bc38ebd32ced25ba3ee6ed5912b0f2e50a
2015-12-02 13:48:19 -05:00
Mike Conley
673a539ce8 Bug 1177310 - Don't flush windows synchronously on application shutdown. r=billm,feedback=ttaubert
Instead of synchronously flushing the windows, we use AsyncShutdown to
wait for all window flushes to finish.

--HG--
extra : commitid : 1dDdTLBcZrt
extra : rebase_source : ea10bed3dc4920e769e73a6469510d4f303b88dc
2015-11-13 14:46:37 -05:00
Mike Conley
c9f1c242db Bug 1177310 - TabStateFlusher Promises should always resolve. r=Yoric
They'll always resolve, but might receive a negative success state
and a message. We're doing this so that we can maintain a Set of
in-flight flushes that we can call Promise.all on (which will
fast-fail if any Promise rejects, or will just never resolve if
one or more of the Promises never resolve).

--HG--
extra : commitid : AkIM83IZCxK
extra : rebase_source : 4fb8eb059589299c87fcbd3c4e519a81a8b93def
2015-11-24 18:41:32 -05:00
Gijs Kruitbosch
bf031e6216 Bug 1222490 - part 2: remove traces of tabview from XUL/XBL/JS in other parts of browser/, r=ttaubert
--HG--
extra : commitid : 8OhDhB9ajM1
extra : rebase_source : 2c160a041845cbac2b1a5b4bf197b32f1ea56734
2015-12-01 10:48:11 +00:00
Mike Conley
142699c76b Bug 1227444 - Remove a closed window from _windows right away without waiting for a flush to complete. r=billm
--HG--
extra : commitid : 2GzekGdayRH
extra : rebase_source : 6699c8debfd267d11bdf246c40abc1fb01ebf25e
extra : histedit_source : 5a80f5de541b6298e161e435e93bce2d00100adc
2015-11-24 18:11:33 -05:00
Christoph Kerschbaumer
b0f3027a6c Bug 1119386 - Part 3: Use document's principal for favicons in browser (r=billm) 2015-11-24 13:32:10 -08:00
Mike Conley
c4b2524bf5 Bug 1209689 - Force tab restoration on demand when crashed tabs are revived. r=felipe
--HG--
extra : commitid : JuG1LXX27OQ
extra : rebase_source : 7ca9ae00bf9db0c00f67a5c4b56af9406e0c4b4a
2015-11-10 21:48:06 -05:00
Mike Conley
b98293847d Bug 1209689 - Ensure browsers are properly removed from SessionStore's crashedBrowser set. r=Mossop
--HG--
extra : commitid : 1F8AkX5UTQa
extra : rebase_source : 452dd8ea2faab91522fccf6528618282e0185a6a
2015-11-03 12:21:43 -05:00
Mike Conley
47594ea1af Bug 1209689 - Tabs that haven't yet been restored should not crash. r=Mossop
--HG--
extra : commitid : 7EBLb0LoCG6
extra : rebase_source : 3f5de217aee0664269ffcf91adb75ac08588be8d
2015-10-28 15:25:03 -04:00
Mike Conley
c70576a28d Bug 1220929 - Remove crashed tab / browser count from SessionStore. r=Mossop
--HG--
extra : commitid : 7PaU6C9W6za
extra : rebase_source : 4052db2057e86ff95866d86193bce45a5c1908da
2015-11-02 20:30:54 -05:00
Mike Conley
8b71909a8f Bug 1213650 - Stash the last value of lastArguments to navigateAndRestore to restore with. r=Mossop
--HG--
extra : commitid : IdMJeVLxLS2
extra : rebase_source : eced932ea0a364f6fc537d6921edf7b40a3ffa7f
extra : histedit_source : 5a496b97359e6a1724560ed3ce7184e39170c1ea
2015-11-16 16:58:12 -05:00
Mike Conley
8cdd233ac6 Bug 1171708 - Fix SessionStore tests to account for async window flushing. r=billm
--HG--
extra : commitid : GukwXUsbANw
extra : rebase_source : 7fd34f268859887633c39db31504b9237126a55b
extra : source : 32196b22b4544981f5658ce028e7566bff3fbca4
2015-11-16 16:17:29 -05:00
Mike Conley
8ec3a8afa7 Bug 1171708 - Have SessionStore asynchronous collect window information on close. r=billm
--HG--
extra : commitid : JsjuzMoJIkr
extra : rebase_source : 7ed1b88284da5b5bcd43fe1f219227c8a8be6cd2
extra : source : 4778fe17087aa893eef9084b1098bd882bb0c973
2015-11-12 14:21:21 -05:00
Mike Conley
23b5e4e712 Bug 1171708 - Use localName when detecting <xul:browsers> for XULFrameLoaderCreated. r=billm
We were using tagName before, which is fine for the dynamically created browsers
in new tabs, but not fine for the initial browser tab, which has a tagName of
"xul:browser" instead of "browser". Using localName makes sure that we don't
get the XML namespace included with the node name. We check the XUL namespace
separately be checking the namespaceURI.

--HG--
extra : commitid : 3bsYYEh62go
extra : rebase_source : e99c51de7f6e2420b4e661487c192e2c180b3df2
extra : source : 451741a8b932024db0c5e54184667b6db970813a
2015-11-06 13:59:47 -05:00
Nigel Babu
947944c7eb Backed out 8 changesets (bug 1171708) for bustage in it's own tests ON A CLOSED TREE
Backed out changeset cae56980cbec (bug 1171708)
Backed out changeset c60c33f9b573 (bug 1171708)
Backed out changeset 96830bc690b6 (bug 1171708)
Backed out changeset e1fcd236bdd3 (bug 1171708)
Backed out changeset 9a48c1d22248 (bug 1171708)
Backed out changeset 020345f46fbd (bug 1171708)
Backed out changeset 6098e098d9eb (bug 1171708)
Backed out changeset c67eefd6cf4d (bug 1171708)
2015-11-19 17:49:38 +05:30
Mike Conley
0d4201efa1 Bug 1171708 - Add tests for async window flushing. r=billm
--HG--
extra : commitid : 7lNQpXDjMii
extra : rebase_source : 1d098340c17fb3f32f299ab866c20fbeed9c6799
2015-11-17 12:26:33 -05:00
Mike Conley
d66172bb50 Bug 1171708 - Fix SessionStore tests to account for async window flushing. r=billm
--HG--
extra : commitid : 6aq14TRfMMn
extra : source : 32196b22b4544981f5658ce028e7566bff3fbca4
extra : amend_source : 47b5ee3cfd3622bd110430722ff8fd90f4cfff90
2015-11-16 16:17:29 -05:00
Mike Conley
30971aa63f Bug 1171708 - Have SessionStore asynchronous collect window information on close. r=billm
--HG--
extra : commitid : BYuQqcSy8ZW
extra : source : 4778fe17087aa893eef9084b1098bd882bb0c973
2015-11-12 14:21:21 -05:00
Mike Conley
b6b24e40a7 Bug 1171708 - Use localName when detecting <xul:browsers> for XULFrameLoaderCreated. r=billm
We were using tagName before, which is fine for the dynamically created browsers
in new tabs, but not fine for the initial browser tab, which has a tagName of
"xul:browser" instead of "browser". Using localName makes sure that we don't
get the XML namespace included with the node name. We check the XUL namespace
separately be checking the namespaceURI.

--HG--
extra : commitid : 8YXH7ZrS0lc
extra : source : 451741a8b932024db0c5e54184667b6db970813a
2015-11-06 13:59:47 -05:00
Wes Kocher
e318a30538 Backed out 8 changesets (bug 1171708) for browser_354894_perwindowpb.js failures CLOSED TREE
Backed out changeset a1ac4564029c (bug 1171708)
Backed out changeset 9f55b32f4440 (bug 1171708)
Backed out changeset 7031b88f0200 (bug 1171708)
Backed out changeset c4b23403e71f (bug 1171708)
Backed out changeset 32196b22b454 (bug 1171708)
Backed out changeset 4778fe17087a (bug 1171708)
Backed out changeset 451741a8b932 (bug 1171708)
Backed out changeset 82c9750d88e2 (bug 1171708)

--HG--
extra : commitid : 1BrMZs0F2Yy
2015-11-18 16:32:24 -08:00
Mike Conley
92a4852773 Bug 1171708 - Add tests for async window flushing. r=billm
--HG--
extra : commitid : LmkJFgEcYIS
extra : rebase_source : 0245b3cc2033163f849b5ec5ba64bcdb22b89b47
2015-11-17 12:26:33 -05:00
Mike Conley
c7bbd86e0e Bug 1171708 - Fix SessionStore tests to account for async window flushing. r=billm
--HG--
extra : commitid : 5mQ8mmyvJcj
extra : rebase_source : 7fa4e874e62bef27dd4a84b38b996f610627a8a3
2015-11-16 16:17:29 -05:00
Mike Conley
8d84cb7d97 Bug 1171708 - Have SessionStore asynchronous collect window information on close. r=billm
--HG--
extra : commitid : F0NVIlkrbe6
extra : rebase_source : 95d79b9be97e3fdb611843b4bde53aa099a8f6b4
2015-11-12 14:21:21 -05:00
Mike Conley
be1b1e7ab5 Bug 1171708 - Use localName when detecting <xul:browsers> for XULFrameLoaderCreated. r=billm
We were using tagName before, which is fine for the dynamically created browsers
in new tabs, but not fine for the initial browser tab, which has a tagName of
"xul:browser" instead of "browser". Using localName makes sure that we don't
get the XML namespace included with the node name. We check the XUL namespace
separately be checking the namespaceURI.

--HG--
extra : commitid : CfPCuzhBkg3
extra : rebase_source : 3a9e0877e32d96ab781d85826a978209fc50f1e3
2015-11-06 13:59:47 -05:00
Jason Orendorff
1a625d9f04 Bug 1216623 - Part 1: Rename some loop variables to avoid conflicts with ES6 scoping rules. r=fitzgen, r=ttaubert, r=MattN, r=gps.
--HG--
extra : commitid : 3eLC5U91GM8
extra : rebase_source : 0933f07c19c0ba87fc34ddd9beaff4bb89e7c690
extra : amend_source : 76fa887d541bfd9f6592b6a6113d76b4df82dea0
2015-10-26 16:33:59 -05:00
David Rajchenbach-Teller
8292b78498 Bug 1214408 - Telemetry on SessionStore:update OOM;r=ttaubert
--HG--
extra : transplant_source : %3A%DB%3Cp%8Fj%24%CF%94%E9%5C%AA%17%0E%2C%03E%23%A2%98
2015-10-16 21:44:54 +02:00
Tooru Fujisawa
8ed7719ea4 Bug 1216775 - Remove for-each from browser/. r=Gijs
--HG--
extra : commitid : 5KlVHJwTU1Q
extra : rebase_source : 6526234004427109c826cb63f42c9def8ca31281
2015-10-19 01:27:39 +09:00
J. Ryan Stinnett
986f2a5cde Bug 1203159 - Rewrite DevTools resource URLs. r=ochameau 2015-10-21 12:48:53 -05:00
Alexandre Poirot
89cb263b54 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop
--HG--
rename : devtools/shared/Console.jsm => toolkit/modules/Console.jsm
2015-10-15 03:45:22 -07:00
Ehsan Akhgari
bf33ea16ea 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
Fabian Furger
b0b92ed59f Bug 1147822 - Add a format version number for sessionstore.js. r=Yoric 2015-10-11 20:24:32 +02:00
J. Ryan Stinnett
408cba0158 Bug 1212153 - Clean up Cu.isModuleLoaded after migration. r=bgrins 2015-10-08 15:25:23 -05:00
Tooru Fujisawa
9d0fd651c5 Bug 1207491 - Part 16: Remove use of expression closure from browser/components/sessionstore/. r=Gijs
--HG--
extra : commitid : E1komPTv4xq
extra : rebase_source : 0111c79e4ae92aa92095659ed3539a6a69a04e31
2015-09-23 18:36:23 +09:00
J. Ryan Stinnett
efe328f1b2 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.

--HG--
extra : commitid : F2ItGm8ptRz
extra : rebase_source : b082fe4bf77e22e297e303fc601165ceff1c4cbc
2015-09-21 12:04:18 -05:00
Shu-yu Guo
64db2267cf Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Neil Deakin
4ca387549d Bug 1148505, remove cpow usage from back-forward menu by using sessionstore data, r=dao,billm 2015-08-28 03:13:03 -04:00
Ursula
c92c765174 Bug 1142034 - Don't show 'Restore All Crashed Tabs' when only one tab has crashed. r=mconley
--HG--
extra : commitid : KI4QTK8C8S9
extra : rebase_source : fbfb838e3e56b950ea3e37956d808b3deab3ce8c
2015-07-23 14:47:35 -04:00
Tim Taubert
6901fe4a13 Bug 1174666 - Remove unneeded SessionSaver.clearLastSaveTime() r=Yoric 2015-06-15 11:54:47 +02:00
Tim Taubert
3c6d7a1993 Bug 1163745 - Properly support shistory purging for pending tabs r=Yoric 2015-06-10 14:53:07 +02:00
Tim Taubert
2a777a408e Bug 1174030 - Register new windows as soon as possible and initialize them later r=billm 2015-06-12 10:53:49 +02:00
Tim Taubert
0f9a461afd Bug 1173267 - Remove aOptions parameter from SessionStoreInternal.setTabState() r=Mossop 2015-06-10 11:09:09 +02:00
Tim Taubert
5349967e74 Bug 1167508 - Cancel pending actions when after flushing the window is gone r=billm 2015-06-09 22:12:32 +02:00
Tim Taubert
8a8147f5f4 Bug 1167508 - Use async flushing for LoadInOtherProcess() r=billm 2015-06-09 22:10:50 +02:00
Tim Taubert
52beafa16f Bug 1167508 - Support flushing crashed browsers r=billm 2015-06-09 22:10:29 +02:00
Tim Taubert
316fcde747 Bug 1167508 - Reset epoch when receiving XULFrameLoaderCreated r=billm 2015-06-09 22:09:56 +02:00
Tim Taubert
980614a0f9 Bug 1163700 - Revert changes from bug 1162036 r=Yoric 2015-06-07 10:53:44 +02:00
Ryan VanderMeulen
b0e048f32d 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
6ac60150e2 Bug 1167508 - Cancel pending actions when after flushing the window is gone r=billm 2015-06-03 17:59:50 +02:00
Tim Taubert
99b8908799 Bug 1167508 - Use async flushing for LoadInOtherProcess() r=billm 2015-05-08 21:15:52 +02:00
Tim Taubert
967cfe8dc1 Bug 1167508 - Support flushing crashed browsers r=billm 2015-05-23 15:22:03 +02:00
Tim Taubert
1cfb434512 Bug 1167508 - Reset epoch when receiving XULFrameLoaderCreated r=billm 2015-05-23 15:20:51 +02:00
J. Ryan Stinnett
4c6ec60312 Bug 1169723 - Load view source frame script lazily. r=mconley 2015-06-04 18:17:53 -05:00
Tim Taubert
cfc376cc2c Bug 1169892 - Avoid extra round-trip when a pending tab is reloaded r=billm 2015-05-30 10:13:52 +02:00
Tim Taubert
afebd7c63a Bug 1162871 - Use async flushing for duplicateTab() r=billm 2015-05-08 11:00:41 +02:00
Tim Taubert
9c05c58af3 Bug 1162871 - Introduce the TabStateFlusher for async flushing r=billm 2015-05-08 10:59:38 +02:00
Tim Taubert
4b91883c03 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
d9695e3279 Bug 1166757 - Remove browser.__SS_data r=billm 2015-05-20 10:35:50 -04:00
Tim Taubert
95648e26fd Bug 1166362 - Let SessionStore ignore <xul:browser>s without a permanentKey property r=Gijs 2015-05-19 13:47:32 -04:00
Tim Taubert
d3e9658852 Bug 1163110 - Remove unused SessionStore._internal property r=Yoric 2015-05-08 21:28:20 +02:00
Tim Taubert
0fadc88345 Bug 1161928 - Require an epoch (managed in the parent) included in every message sent by the frame script to get rid of TabState.flush() calls in restoreTab() r=billm 2015-05-06 15:06:29 +02:00
Tim Taubert
21847d3e4e Bug 1161928 - Add assertions to ensure tab restoration methods are used correctly r=billm 2015-05-06 12:03:24 +02:00
Tim Taubert
6a5537fada Bug 1161981 - Add SessionStore:crashedTabRevived to NOTAB_MESSAGES to silence warnings when closing about:tabcrashed tabs r=billm 2015-05-06 11:56:59 +02:00
Tim Taubert
7e3c78f219 Bug 1162036 - Remove pending/restoring tabs when receiving browser:purge-session-history instead of leaving empty tabs r=Yoric 2015-05-07 08:00:16 +02:00
Ryan VanderMeulen
8c304a4876 Backed out changeset 0cecdb107e91 (bug 1162036) for e10s browser_privatebrowsing_DownloadLastDirWithCPS.js failures.
CLOSED TREE

--HG--
extra : rebase_source : d9021ec4b0e810314138858194a56f4479edf21d
2015-05-06 12:07:00 -04:00
Tim Taubert
00fed436ce Bug 1162036 - Remove pending/restoring tabs when receiving browser:purge-session-history instead of leaving empty tabs r=Yoric 2015-05-06 15:33:46 +02:00
Tim Taubert
01f62314ff Bug 1150529 - Remove code for expired telemetry histograms r=Yoric 2015-05-02 09:56:39 +02:00
Tim Taubert
0367f94a69 Bug 1159248 - Simply pre-fill window.tabs[] with empty tab states instead of calling TabState.collect() to avoid perf regressions r=smacleod 2015-05-04 13:42:43 +02:00
Tim Taubert
a3962b0733 Bug 1109875 - Don't flush state when closing tabs r=billm 2015-04-30 18:28:39 +02:00
Tim Taubert
366320a488 Bug 1109875 - Ignore SessionStore:update messages that do not target the browser's latest frameLoader r=billm,smaug 2015-04-28 16:22:38 +02:00
Tim Taubert
ac3615aa89 Bug 1156722 - Remove unused _getURIFromString() method r=smacleod 2015-04-22 12:43:51 +02:00
Tim Taubert
80ede19e04 Bug 1156722 - Remove unused reference to the parent process message manager r=smacleod 2015-03-30 10:15:40 +02:00
Tim Taubert
bd14bee44a Bug 1156722 - Check for window.gBrowser instead of window.getBrowser r=smacleod 2015-03-30 10:22:45 +02:00
Tim Taubert
fd71ad4984 Bug 1156722 - Use destructuring instead of [].shift() r=smacleod 2015-03-30 10:23:59 +02:00
Tim Taubert
445063d439 Bug 1156722 - Remove legacy _toJSONString() method and use JSON.stringify() r=smacleod 2015-03-30 10:25:47 +02:00
Tim Taubert
c094cda64e Bug 1157220 - Prevent "null" entries for tabs in the window state object when restoreTab() is called for a given tab before we collected data for all its predecessors r=smacleod 2015-04-22 15:37:12 +02:00
Tim Taubert
aca4ef500c Bug 1156721 - Move restoreCookies() implementation to SessionCookies.jsm r=smacleod
Also, remove the try/catch clause as nsCookieService::Add() will only fail if the profile was already closed or we're OOM, aborting in those cases is absolutely fine.
2015-03-30 10:41:57 +02:00
Bill McCloskey
3856bd0f73 Bug 1056443 - Use correct URL in location bar when switching processes (r=ttaubert) 2015-04-15 10:09:49 -07:00
Roy Li
926722aa2c Bug 936061 - Refactor restoreWindow() into restoreWindow() and restoreWindows(). r=smacleod 2015-03-30 11:50:58 -05:00
Bill McCloskey
f7043a786c Bug 1147236 - Use AppConstants in session store code (r=ttaubert) 2015-03-30 20:13:02 -07:00
Tim Taubert
67248d3882 Bug 1146052 - Fix empty about:sessionrestore after crash as well as empty about:welcomeback after resetting the profile r=smacleod 2015-03-23 14:01:13 +01:00
Tim Taubert
ba18194432 Bug 1145942 - Use the frame message manager to revive crashed tabs upon navigation r=billm 2015-03-21 08:20:28 +01:00
Wes Kocher
50b5615e47 Merge fx-team to m-c a=merge 2015-03-02 12:41:37 -08:00
Tim Taubert
b9ad4f0a67 Bug 1100223 - Make calling loadURI() on pending tabs work as expected by marking the tab as no longer pending and simply waiting for the restoration to finish r=billm 2015-02-24 11:29:36 -08:00
Tooru Fujisawa
6eccb1d0bc Bug 1108382 - Part 1: Do not use non-standard flag argument of String.prototype.match/replace in browser/. r=gavin 2015-03-01 09:51:32 +09:00
Tim Taubert
f76aa87ad0 Bug 1135498 - Get rid of the unused browser.__SS_restore_data property r=smacleod 2015-02-22 13:40:01 +01:00
Blair McBride
40d4ef0e6c Bug 1123517 - Refactor sidebar code. r=florian
--HG--
extra : transplant_source : %04%FAZ%B3%DD%EB%8C%28%9Bj%CB%B3%D1%89%D9AJ%22%08%C6
2015-02-20 21:21:33 +13:00
Tim Taubert
a828f1bfde Bug 1124147 - Get rid of browser.__SS_restore_tab r=smacleod 2015-01-28 19:01:02 +01:00
Tim Taubert
e5523401ac Bug 1114040 - Handle redirects and errors correctly in session store (r=ttaubert) 2015-01-23 10:49:10 +01:00
Mike Conley
488788d832 Bug 1073165 - Clear restore state for crashed tabs. r=smacleod.
SessionStore keeps track of tabs that still need to be lazily restored. When
a tab crashes, we should clear that state so that SessionStore doesn't attempt
to lazily restore a crashed browser.

--HG--
extra : rebase_source : 72650cb34009e53bc400901454ffac1634758c17
2015-01-14 16:30:20 -05:00
Tim Taubert
6dcf7bca72 Bug 1097697 - Backout changeset 126811256577 to fix talos regression r=me 2014-11-23 11:37:20 +01:00
Tim Taubert
e24b098f02 Bug 1077652 - SessionStore should accept :setupSyncHandler and :update messages from browsers without tabs r=smacleod
By making SessionStore accept :setupSyncHandler and :update messages from <xul:browser>s without a tab assigned we can preload a <xul:browser> in the background and assign a tab later. SessionStore will have the correct sync handler and know about the current content loaded in that browser. If the browser will never be assigned to a tab the received data will simply be discarded when the browser goes away due to the use of WeakMaps in SessionStore.
2014-11-19 12:52:36 +01:00
Tim Taubert
e54774051e Bug 1096013 - [e10s] Improve perceived session restore duration by prioritizing selected tabs when restoring session history and by setting tab labels and icons as soon as possible to indicate a restored session r=smacleod 2014-11-09 12:28:56 +01:00
Dave Townsend
33002c3689 Bug 1075658: Make browser.loadURI synchronously update the browser remoteness. r=ttaubert 2014-10-29 13:26:14 -07:00