Commit graph

130 commits

Author SHA1 Message Date
Dão Gottwald
a1816a5043 Bug 1287732 - Remove some event.target null checks. r=gijs 2016-07-19 18:20:13 +02:00
Pushpankar
c6670d980f Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Gijs Kruitbosch
939d620e96 Bug 1276117 - part 1: fix URL bar state when loading about:home after about:preferences, r=mikedeboer
MozReview-Commit-ID: D5ecLsiJF3R

--HG--
extra : rebase_source : e2182ab760cb052fb9e6996a3c9e948c6d67fd66
2016-05-27 14:06:02 +01:00
Gabor Krizsanits
e1127b3ff0 Bug 1262661 - part2: optimization on session storage and history messages. r=mconley 2016-05-23 12:15:15 +02:00
Gijs Kruitbosch
307e6f9842 Bug 1272317 - fix URL bar state when switching to a non-remote browser, r=mconley
MozReview-Commit-ID: 4dmgz6iHfdK

--HG--
extra : rebase_source : aa2df82eaa5e15aa75a5a4e4bbfdd04879c37d94
2016-05-16 22:36:35 +01:00
Timothy Guan-tin Chien
90df11d2e4 Bug 1153393 - Make session restore restores the scroll position of an about:reader page, r=gijs
MozReview-Commit-ID: 6smuca3vx5O

--HG--
extra : rebase_source : 2853cce414d538076cdc5b066cb05989ba996299
2016-05-07 12:31:21 +08:00
Gabor Krizsanits
fcb1f9c2d0 Bug 1262661 - clear the MessageQueue after send. r=mconley 2016-05-03 22:38:36 +02:00
Gijs Kruitbosch
1d863b1c09 Bug 1267289 - add more URL bar tests and fix issue with error pages, r=mikedeboer,mconley
This adds tests for issues brought up in bug 231393, bug 264610, bug 302575 and bug 1129564,
all of which fed into the current implementation of userTypedClear/userTypedValue. I intend
to move us away from userTypedClear, but I'm keen not to regress any of these issues, so
I'm adding automated tests to ensure that doesn't happen.

MozReview-Commit-ID: 1up2MIXzkzG

--HG--
extra : rebase_source : 4d37f13895b8c7e7aba5331664718582c6b2136c
2016-04-25 17:27:35 +01:00
Gijs Kruitbosch
b6a127aa5c Bug 1266475 - don't re-load about:blank when we're remoteness-switching anyway, r=mconley
MozReview-Commit-ID: HwPrmjzCxHq

--HG--
extra : rebase_source : 0526ffa60cc63cad9aaaa16b0f0bf2faa69234f2
extra : amend_source : 5a0135c6daf192d12dd1b24570a33ea6afb29310
2016-04-21 17:55:42 +01:00
Mike Conley
9b79809916 Bug 1261657 - Don't record SSTabRestored events in StartupPerformance that are the result of a remoteness flip. r=Yoric
MozReview-Commit-ID: 2pnT2DdKPHV

--HG--
extra : rebase_source : f64f2007b7738c259996402a722b3a9bfcab5e0d
2016-04-03 00:30:14 -04:00
Mike Conley
044d8bca6b Bug 1195295 - Remove SessionStore's SyncHandler since all tab and window flushing is now async. r=ttaubert
MozReview-Commit-ID: 5UrQj1UUKDE

--HG--
extra : rebase_source : 0b2f5ebb954603bfe6a800ff0d6100be5a2dfbb2
2015-12-01 14:34:25 -05:00
Mike Conley
31dbaf7d90 Bug 1245212 - Properly cancel SessionStore:update message timers if timeoutDisabled is set to true. r=billm
MozReview-Commit-ID: BjiumfIOrdT

--HG--
extra : rebase_source : 08492d1bdbd132ffe25f14c62fbe6b8510e55d73
2016-02-01 16:00:29 -05:00
Mike Conley
88150e630a Bug 1231422 - Fix busted pref observer for browser.sessionstore.debug.no_auto_updates. r=billm
--HG--
extra : rebase_source : 79ebfe3ff54d62a3f24f1eedfdd24f3682c29291
2016-01-22 11:43:49 -05: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
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
Luis Miguel [:quicksaver]
b24758ed1d Bug 1228980 - Display favicons of tab entries in aboutSessionRestore-based pages. r=ttaubert
--HG--
extra : transplant_source : W%9D%B1hn%AD%84%B9%605%1ClKc%A2D%BAC%E8Q
2015-12-08 12:35:28 +00: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
51e9466a0f Bug 1226333 - Add tests for async window flushing. r=billm.
--HG--
extra : commitid : 9ji0WXf0vH0
extra : rebase_source : 31ffb2e4df2cf6f4e3902fb4504fae2984dee55a
2015-12-02 09:46:06 -05:00
Gijs Kruitbosch
781be4fb9c Bug 1221050 - part 5: create page for use with tabview migration, r=ttaubert
--HG--
rename : browser/components/sessionstore/content/aboutSessionRestore.xhtml => browser/base/content/aboutTabGroupsMigration.xhtml
extra : commitid : E9PZnr7z9hO
extra : rebase_source : e3c38469a98bb008075110e4e7d4af1e151511f3
2015-12-01 10:48:10 +00:00
David Rajchenbach-Teller
d9df20222c Bug 1216250 - Limit amount of DOM Storage data stored by Session Restore. r=ttaubert
DOM Storage is a pretty inefficient and memory-hungry storage mechanism. Session Store attempts to record DOM Storage for each tab, which leads to (possibly very large) objects being serialized once to be sent from frame/content to parent and once to be sent from the main thread to the I/O thread. This is a suspect behind a number of crashes (see bug 1106264 for a discussion on the topic).

This patch limits the amount of DOM Storage that Session Restore attempts to store. We perform a quick estimate on the amount of memory needed to serialize DOM Storage and prevent storage larger than ~10M chars being sent from frame/content to the parent. Once this patch has landed, we will need to watch FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS to find out whether our threshold is meaningful.

--HG--
extra : transplant_source : %26%07%ADzjT%A9%E3%B9%B9%EC%9D%97n%23%B5%F2%DAZ%CD
2015-10-20 14:15:17 +02: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
Boris Zbarsky
a63708d836 Bug 1212360. Split up the MozStorageChanged event into separate events for sessionstorage and localstorage. r=khuey 2015-10-09 16:48:10 -04:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07: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
Tim Nguyen
ab0f949f17 Bug 1172357 - Use new tree-container class for about:welcomeback tree. r=jaws
--HG--
extra : commitid : 1hojpt41k2e
extra : rebase_source : 6ddfe723a1d259a2ce820d6c057a416578eafd59
2015-07-17 14:35:51 -07: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 Nguyen
d11b1283f6 Bug 1125952 - Make about:sessionrestore use more available height. r=jaws 2015-05-22 09:58:00 -04:00
Tim Taubert
9c05c58af3 Bug 1162871 - Introduce the TabStateFlusher for async flushing r=billm 2015-05-08 10:59:38 +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
e974683386 Bug 1161928 - Move epoch handling from ContentRestore.jsm to content-sessionStore.js r=billm 2015-05-06 11:55:20 +02:00
Tim Taubert
83df001bfd Bug 1160556 - Recollect session history data when the page title changes r=Gijs 2015-05-05 16:00:12 +02:00
Tim Taubert
cf32aa59d3 Bug 1109875 - When unloading a frameLoader flush all pending state changes by sending a final update message r=billm 2015-04-29 07:13:29 +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
Bill McCloskey
f7043a786c Bug 1147236 - Use AppConstants in session store code (r=ttaubert) 2015-03-30 20:13:02 -07: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
Bill McCloskey
1185a0673f Bug 1126089 - Use async messages for crash revival (r=ttaubert) 2015-03-19 06:47:30 -07:00
Phil Ringnalda
24910d5fbd Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
CLOSED TREE

Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
42505bae58 Bug 1126089 - Use async messages for crash revival (r=ttaubert) 2015-03-18 16:09:27 -07: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
Tim Nguyen
4595446ad1 Bug 1087618 - Part 4: Update html structure of about:tabcrashed, sessionrestore and welcomeback. r=jaws 2015-01-21 05:44:00 -05:00
Tim Taubert
e5523401ac Bug 1114040 - Handle redirects and errors correctly in session store (r=ttaubert) 2015-01-23 10:49:10 +01:00
Chris Peterson
2faecc65b4 Bug 1113031 - Replace deprecated expression closures in about:sessionrestore with real functions. r=ttaubert 2014-12-16 19:42:45 -08:00
Chris Peterson
a1d7617610 Bug 1105404 - Remove deprecated for-each-in loops in about:sessionrestore. r=mak 2014-11-25 23:49:08 -08:00
Dave Townsend
33002c3689 Bug 1075658: Make browser.loadURI synchronously update the browser remoteness. r=ttaubert 2014-10-29 13:26:14 -07:00
Mark Hammond
0d470f4198 Bug 1080934 - add radio buttons to about:welcomeback. r=Unfocused 2014-10-24 10:56:33 +11:00
Mark Hammond
7e0e31669a Backed out changeset 0b08eb8e264b (Bug 1080934) for bc failures. 2014-10-23 16:20:13 +11:00
Mark Hammond
9c68a3252e Bug 1080934 - add radio buttons to about:welcomeback. r=Unfocused 2014-10-23 15:00:23 +11:00
Mike Conley
eefe7bf38d Bug 1070096 - Collect no SessionStore information for about:tabcrashed pages. r=ttaubert.
--HG--
extra : rebase_source : 46798a97625dcbdcc2d4ad4d697420fde4074903
2014-10-21 08:39:29 -04:00