Commit graph

179 commits

Author SHA1 Message Date
Nika Layzell
28a22bf152 Bug 1383876 - Part 6: Fix eslint failures, a=bustage
MozReview-Commit-ID: 90yfcMlr6UU
2018-01-12 18:40:53 -05:00
Nika Layzell
e0822be7b9 Bug 1383876 - Part 2: Remove GroupedSHistory and Prerendering logic from JS code, r=freesamael
MozReview-Commit-ID: KwvOcgQKheK
2018-01-12 17:52:54 -05:00
Mark Banner
42cb2dc6a3 Bug 1230373 - Enable mozilla/use-services for browser/components/ r=mossop
MozReview-Commit-ID: 9m9iss3jUJJ

--HG--
extra : rebase_source : e6a6f9dec168ab1d0e0343236db65f3dd1b44aeb
2017-10-11 15:43:51 +01:00
Dan Banner
7caa92d5d8 Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Erica Wright
b4684c64dc Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj

--HG--
extra : rebase_source : 44a7f125c73b7df15dc85853ce63a7b029903449
2017-09-20 11:30:14 -04:00
Wes Kocher
d3f885c82c Backed out changeset cf0280811b62 (bug 1394457) for sessionstore related bc failures a=backout
MozReview-Commit-ID: 6QvYDCSrdP1
2017-09-28 13:48:19 -07:00
Erica Wright
910f67301a Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj

--HG--
extra : rebase_source : 48c02733fc5cab4e14ae5f29f601b06348854757
2017-09-20 11:30:14 -04:00
Sebastian Hengst
7e7dc3f5d5 Backed out changeset ff34580cb279 (bug 1394457) for failing many session store related tests due to exception, e.g. Marionette's test_refresh_firefox.py TestFirefoxRefresh.testReset. r=backout 2017-09-26 23:06:25 +02:00
Erica Wright
d354185626 Bug 1394457 - Update illustration for about:sessionrestore. ui-r=shorlander, r=dao
MozReview-Commit-ID: FSLb0ucVroj

--HG--
extra : transplant_source : %0BN%9F%16%A6%B6%00%22%A7y%27%05v%22%BD%98Y%92%29%BD
2017-09-20 11:30:14 -04:00
Kris Maglione
76f5de43e0 Bug 1401422: Bail out from idle callback if frameloader is being destroyed. r=mikedeboer
MozReview-Commit-ID: Je8rUC9PoLH

--HG--
extra : rebase_source : 9f690a2f567928cc046ddff031f4baadbbd3e79f
2017-09-19 18:51:52 -07:00
Nihanth Subramanya
5774ce7105 Bug 1398183 - Update copy for about:sessionrestore. r=johannh
MozReview-Commit-ID: ET2zEKsS7SM

--HG--
extra : rebase_source : 4684157d65d9425a043eacf14e470ee5ee974afd
2017-09-20 01:23:07 +05:30
Will Wang
1e04e92d6a Bug 1365970 - Move data collector timer in the content process to idle dispatch. r=mikedeboer 2017-09-13 21:06:06 +08:00
Sebastian Hengst
e3a43a94a2 Backed out changeset 6ee4de08ac37 (bug 1365970) for leaks on Windows, e.g. in browser-chrome's browser/base/content/test/webextensions/browser_extension_update_background.js. r=backout on a CLOSED TREE 2017-09-08 16:05:21 +02:00
Will Wang
59df6942e0 Bug 1365970 - Move data collector timer in the content process to idle dispatch. r=mikedeboer 2017-09-08 18:05:42 +08:00
Tim Taubert
ef4e38b6ea Bug 1386867 - Fix quantum_pageload_google talos regression r=mystor 2017-08-30 14:57:00 +02:00
Tim Taubert
26a7909744 Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-08-02 19:08:04 +02:00
Bevis Tseng
16c9a58ee8 Bug 1384041 - Label the use of setTimeout of Timer.jsm in content-sessionStore.js. r=billm
MozReview-Commit-ID: i8Rn1eke4s
2017-07-28 16:03:51 +08:00
Sebastian Hengst
c3bdf442b0 Backed out changeset e62c93a8c93b (bug 1373672) for bustage at nsSessionStoreUtils.cpp:21: bad implicit conversion constructor for 'DynamicFrameEventFilter, and e.g. eslint failures. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 7ae39f6dca050173fd0c1103d309b7a9a175a377
2017-08-01 12:39:21 +02:00
Tim Taubert
36e075eddf Bug 1373672 - Part 1: Filter events from dynamic docShells in Gecko before they reach SessionStore event handlers r=smaug,mystor 2017-07-21 14:57:30 +02:00
Marco Castelluccio
0abc80eebf Bug 1357517 - Remove or delay Preferences.jsm usage from some browser/components/* files. r=Gijs
--HG--
extra : rebase_source : 8ae926bfde827b9a5323d6fb96dc231d429ab9b0
2017-07-31 13:25:41 +02:00
Tim Taubert
13ee60d3e3 Bug 1382635 - FormDataListener shouldn't listen for change events r=mikedeboer 2017-07-21 10:35:25 +02:00
Tim Taubert
a92639f8e8 Bug 1348816 - Remove PageStyle collection/restoration from SessionStore r=mikedeboer 2017-07-21 10:35:20 +02:00
Ehsan Akhgari
941548abbb Bug 1374892 - Implement nsISHistoryListener::OnLengthChanged/OnIndexChanged on the JS implementations to avoid generating silent exceptions when Gecko calls these functions; r=freesamael 2017-06-22 00:30:37 -04:00
Tim Taubert
00fc6cad00 Bug 1362058 - Further limit the amount of sessionStorage data we store and serialize r=mikedeboer 2017-05-05 12:17:09 +02:00
Tim Taubert
c9074e0e0a Bug 1360916 - Update telemetry code in sessionstore content script r=mikedeboer data-r=bsmedberg
This patch replaces FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_LONGEST_OP_MS with
a more fine-grained data collection via a keyed histogram so that we can
determine which type of data collection we spend a lot of time on.

Additionally, it abandons sending telemetry data from the content to the parent
via custom messages and instead uses the Telemetry service directly. Thus it
also gets rid of a bug that currently overrides measurements for the same
histogram done quickly in succession
2017-05-03 12:06:34 +02:00
Sebastian Hengst
d462b93aeb Backed out changeset ec64ea9b1249 (bug 1360916) for failing browser_sessionStorage_size.js. r=backout 2017-05-03 00:25:07 +02:00
Tim Taubert
142cf6d7de Bug 1360916 - Update telemetry code in sessionstore content script r=mikedeboer data-r=bsmedberg
This patch replaces FX_SESSION_RESTORE_CONTENT_COLLECT_DATA_LONGEST_OP_MS with
a more fine-grained data collection via a keyed histogram so that we can
determine which type of data collection we spend a lot of time on.

Additionally, it abandons sending telemetry data from the content to the parent
via custom messages and instead uses the Telemetry service directly. Thus it
also gets rid of a bug that currently overrides measurements for the same
histogram done quickly in succession.
2017-05-02 23:22:45 +02:00
Gabor Krizsanits
b007d78f5d Bug 1352961 - P2: Measure for the delay before a new tab starts processing the first URL. r=mconley, data-r=bsmedberg
Opening pages in a new tab might suffer an extra delay from e10s-multi because
the new process has to start up and then run all the process / frame scripts
before it can react on the request from the parent to load the first page.

There are two code paths. Either we start the tab with a remote browser and
then the RemoteWebNavigation will send the request. Or we start with a non-remote
browser and have to change the remoteness flag on it, and then the SessionStore
will send the request.

In each cases we start the timer on the parent side, send it with the message,
and when the child receives it it stops the timer and reports the measured delay.
2017-04-25 17:11:12 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Jan Henning
6d4628844f Bug 1265818 - Part 3 - Store and restore the LayoutHistoryState through SessionHistoy.jsm. r=mikedeboer
Since a LayoutHistoryState is basically just a collection of PresStates, we just save each PresState we can find and then later restore it.

MozReview-Commit-ID: A6WpdelseHn

--HG--
extra : rebase_source : 21c2929ed64ff5ef046ea65664af78cdad517786
2017-03-25 15:32:36 +01:00
Mike Conley
132aa6c7f2 Bug 1348613 - Only use sync message for SessionStore:restoreHistoryComplete for non-remote tabs. r=mikedeboer
MozReview-Commit-ID: IuOtKpudDTU

--HG--
extra : rebase_source : 9cd70dd4d6bd2807742e2e84da0c4cc7cc2a2f35
2017-03-27 12:56:38 -04:00
Mike Conley
3715be2910 Bug 1348613 - Make SessionStore:restoreTabContentStarted message always async. r=mikedeboer
MozReview-Commit-ID: 8TwPFUbXluW

--HG--
extra : rebase_source : b450809f61d7acb4e83788895bc77adafabfde86
2017-03-27 12:15:50 -04:00
Mike Conley
6b9cc68a36 Bug 1256472 - Add a reason to the restoreTabContent function and message. r=Gijs,mikedeboer
This helps differentiate restorations that were caused by navigateAndRestore, as opposed
to SessionStore having set state via setBrowserState, setWindowState, or setTabState.

MozReview-Commit-ID: DEEbKLh7f7p

--HG--
extra : rebase_source : c48ab225d17128041ccbde4e5cc8c87899166b9e
2017-03-14 09:55:54 -04:00
Sebastian Hengst
fa3375c4ed Backed out changeset ba60dcd190ad (bug 1256472) for leaks in browser_windowStateContainer.js. r=backout 2017-03-16 17:24:01 +01:00
Mike Conley
9ce53ecd28 Bug 1256472 - Add a reason to the restoreTabContent function and message. r=Gijs,mikedeboer
This helps differentiate restorations that were caused by navigateAndRestore, as opposed
to SessionStore having set state via setBrowserState, setWindowState, or setTabState.

MozReview-Commit-ID: DEEbKLh7f7p

--HG--
extra : rebase_source : 7fa68acf1ffd85f28af2be9c00f2ef65b21375f6
2017-03-14 09:55:54 -04:00
Mark Banner
c26710ebe4 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Manual fixes. r=jaws
MozReview-Commit-ID: AupJNLZJ2Ye

--HG--
extra : rebase_source : b9113d1ca913d399ca4e831f3c381e8fa45847bd
2017-03-13 10:32:03 +00:00
Mark Banner
4acba13973 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Autofix changes. r=jaws
MozReview-Commit-ID: 5LKHbcmjSy

--HG--
extra : rebase_source : d7e4571dae5c5770c7908579d7634419382d78e2
2017-03-10 19:51:20 +00:00
jordan9769
5761e9b0d1 Bug 1311347 - Enable eslint of browser/components/sessionstore/. Initial changes by Sourav, updated by Standard8. r=jaws
MozReview-Commit-ID: 4RFxoV8SkIa

--HG--
extra : rebase_source : 96b24b172cfa957489df37943171ddae07145e84
2016-10-28 02:48:50 +05:30
Jan Henning
5e22220b1b Bug 1340828 - Part 1 - Move SessionHistory.jsm to toolkit. r=mikedeboer
We want to use this for Android, too. Once again, moving the file necessitates fixing a few ESLint errors that weren't yet checked for under the old directory.

MozReview-Commit-ID: IPxcizKwzAX

--HG--
rename : browser/components/sessionstore/SessionHistory.jsm => toolkit/modules/sessionstore/SessionHistory.jsm
extra : rebase_source : 77a85942443026620c77508d6ccb405e0a9864ff
2017-02-18 20:54:09 +01:00
Masatoshi Kimura
7be7b11a1c Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg

--HG--
extra : rebase_source : e8f90249454c0779d926f87777f457352961748d
2017-02-23 06:10:07 +09:00
Florian Quèze
028a82f682 Bug 1329182 - remove trailing newURI null parameters in browser/, r=jaws. 2017-01-09 20:27:25 +01:00
Michael Layzell
054becaed7 Bug 1310771 - Part 3: Add support to SessionStore for recording history for GroupedSHistories, r=mikedeboer
MozReview-Commit-ID: Ffq7h3zRUm3
2016-11-18 16:00:43 -05:00
Gijs Kruitbosch
dc8d50ed3e Bug 1312406 - part 1: remove tab groups migration code, r=Dolske
MozReview-Commit-ID: BDuX607J51w

--HG--
extra : rebase_source : a22ba1e0c19680484abe7bd7344ea72a29d26755
2016-11-01 15:59:11 +00:00
Joseph Yeh
181ca20b6f Bug 1184989 - Prevent flipping preference will scroll the page as well. r=jaws
MozReview-Commit-ID: 5j5FN8aFDlX

--HG--
extra : rebase_source : 8eb433a802ab05b35621cc66d8808ce36a9eaac2
2016-08-25 10:51:43 +08:00
Dão Gottwald
a1816a5043 Bug 1287732 - Remove some event.target null checks. r=gijs 2016-07-19 18:20:13 +02:00