gecko-dev/toolkit
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
..
components Bug 1339610 - Web extension API for container icon and colors. r=baku,kmag 2017-08-27 00:47:02 +01:00
content Bug 1396211 - Use mozIntl for dates in aboutTelemetry.js, clean up unused code r=chutten 2017-09-02 12:00:25 +02:00
crashreporter Bug 1391685 Copy missing WideToMBCPto minidump-analyzer standalone program for gcc build r=gsvelto 2017-08-29 12:15:02 -05:00
forgetaboutsite Bug 1392119 - Enable the ESLint no-caller rule across mozilla-central r=standard8 2017-08-23 13:38:24 +01:00
library Bug 1396664 - re-enable bad-string subtests in test_parser_diagnostics_unprintables.html r=emilio 2017-09-05 15:40:57 +02:00
locales Bug 1396020 - Expose hard-coded strings in about:telemetry r=gfritzsche 2017-09-02 09:27:12 +02:00
modules Bug 1353013 - Be less aggressive about preloading about:newtab. r=florian 2017-08-24 15:23:18 -07:00
mozapps Bug 1396578 Remove startup notification for non-mpc extensions r=rhelmer 2017-09-05 07:35:59 -07:00
pluginproblem Bug 1369755 part A - Add context about browser performance to the in-content UI.Remove the tap-to-activate UI on desktop, because we don't specifically say "click" on desktop anyway, and we don't want/need to customize it from PluginContent.jsm. ui-review=sbarrett r=felipe 2017-06-08 11:43:05 -04:00
profile Bug 1387800 - Remove [deprecated] nsIFilePicker.show(). r=qdot 2017-08-06 13:15:31 +09:00
system Bug 1382442 - Don't try to use GConf in content processes. r=drno,gcp 2017-08-16 10:11:15 -06:00
themes Bug 1392532 - Polish Preferences font size depending on platforms r=dao 2017-09-04 11:06:10 +08:00
xre Bug 1395990 - remove Services.appinfo.isOfficial;r=mossop 2017-09-01 18:57:43 +02:00
.eslintrc.js
moz.build
moz.configure Bug 1391467 - Remove --enable-necko-protocols. r=gps,valentin 2017-08-17 17:30:57 -07:00
nss.configure
toolkit.mozbuild Bug 1393454 Do not compile rust gtest crate if --disable-tests is set r=ted 2017-08-28 13:12:24 -05:00