gecko-dev/browser
Mike Conley ec416a2990 Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian
Based on a patch that Dão Gottwald <dao+bmo@mozilla.com> wrote.

We used to preload about:newtab as soon as a tab had finished being opened,
which meant that the first opened tab was _never_ preloaded, and that we
risked janking the browser immediately after the user opened a new tab
(which is, arguably, the worst time to do it, since the user is probably
about to navigate that tab somewhere).

This patch makes it so that about:newtab is preloaded after:

1) 1 second of user inactivity, and
2) When we have at least 40ms of idle time to spend in an idle callback.

The 1s and 40ms thresholds were chosen arbitrarily, and we might tune them
over time.

MozReview-Commit-ID: J5xkPQvCdW6

--HG--
extra : rebase_source : 51aed2f47ee5c6a68d04036d0bdc9e6357a5fc8d
2017-08-24 15:23:18 -07:00
..
app Bug 1229829 - Part 2 - Use an alternate desktop on the local winstation for content processes; r=bobowen 2017-08-16 09:55:19 -04:00
base Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian 2017-08-24 15:23:18 -07:00
branding Bug 1392724 - Improve Nightly Branding iteration 06. r=mconley, a=RyanVM 2017-08-22 20:46:40 -04:00
components Bug 1392081 - Mochitest browser test for bookmarks toolbar overflow. r=Gijs 2017-08-28 14:43:59 +02:00
config merge mozilla-inbound to mozilla-central. r=merge a=merge 2017-08-31 14:36:51 +02:00
docs Bug 1388902 remove socialapi share, r=florian 2017-08-16 08:54:21 -07:00
experiments Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop 2017-08-20 18:52:05 +01:00
extensions Bug 1395519 - [Form Autofill] Keep the original data when record updated via submission. r=lchang 2017-09-01 10:11:19 +08:00
fonts
installer Merge inbound to central, a=merge 2017-08-25 16:21:57 -07:00
locales Bug 1396927 - Switch Diec2 (Catalan) search plugin to https r=mkaply 2017-09-05 20:09:19 +02:00
modules Bug 1396053 - Page action urlbar button ordering can get messed up for new windows. r=Gijs 2017-09-04 23:58:27 -07:00
themes Bug 1393565 - De-duplicate the JS code and CSS that sets the bookmark and pocket library animation. r=Gijs 2017-08-30 15:58:24 -04:00
tools/mozscreenshots Backed out changeset df8215261c7e (bug 1349689) on request from rchien. r=backout 2017-08-31 16:58:32 +02:00
.eslintrc.js
app-rules.mk
app.mozbuild
build.mk bug 1370506, add l10n-related targets to top-level build.mk, r=glandium 2017-06-16 12:13:55 +02:00
confvars.sh Bug 1391643 - Build stub installer when building Nightly on try. r=mhowell 2017-08-18 13:19:17 -04:00
defs.mk
LICENSE
Makefile.in
moz.build Bug 1355088 - add BUG_COMPONENT to browser/* files. r=mossop 2017-08-25 13:08:45 -04:00
moz.configure