gecko-dev/browser/components
Mike Conley a135d65169 Bug 1614861 - Make slow startup notification bar sampler use monotonic clock. r=gsvelto
The slow startup notification bar sampler code was using
`Date.now() - Services.startup.getStartupInfo().process`.

`Services.startup.getStartupInfo().process` is a high-resolution timestamp from a
monotonic clock that has been converted to a Date object. Date.now() is a timestamp
from a clock that is _not guaranteed to be monotonic_, so even though they're technically
the same type, Date.now() ultimately has looser guarantees on its stability.

Date.now() can, for example, change if the OS communicates with a clock on a network,
and updates itself - this can move the clock forward or backward. Timezone changes can
also impact Date.now(). These are edge-cases, but users do hit them nonetheless.

This patch switches the sampler to use `Cu.now()`, which is a high-resolution interval
from process start to the current time using a monotonic clock.

Differential Revision: https://phabricator.services.mozilla.com/D62760

--HG--
extra : moz-landing-system : lando
2020-02-13 20:33:56 +00:00
..
about Bug 1609635 - Whitelist about:newtab/home from content sanitization r=ckerschb 2020-02-04 08:37:57 +00:00
aboutconfig Bug 1613515 - Disable browser/components/aboutconfig/test/browser/browser_edit.js as it consistently times out in Linux coverage builds. r=aryx 2020-02-07 11:13:16 +00:00
aboutlogins Bug 1613580 - Restore appropriate width of login view r=ntim 2020-02-11 11:06:49 +00:00
attribution Bug 1595063 - Support user agent attribution codes r=mixedpuppy,nanj 2019-12-24 17:04:10 +00:00
build Bug 1613601 - Remove browser/components/build/Makefile.in. r=dmajor 2020-02-06 16:08:15 +00:00
contextualidentity Bug 1613250 - Bring long press for new container tab menu back. r=Gijs,flod 2020-02-05 21:50:58 +00:00
controlcenter/content Bug 1605217 - Migrate Identity Panel to Fluent. r=fluent-reviewers,nhnt11,flod 2020-01-10 02:16:09 +00:00
customizableui Bug 1542975 - Radio buttons in Forget panel are not keyboard navigable r=Jamie 2020-02-07 03:44:09 +00:00
dirprovider Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo 2020-01-17 19:29:09 +00:00
downloads Bug 1610497 - Increase browser window min-width so the address bar can be focused by mouse. r=mak 2020-01-30 15:59:29 +00:00
enterprisepolicies Bug 1608240 - Add a policy to control user messaging. r=mconley,fluent-reviewers,flod 2020-02-12 21:28:38 +00:00
extensions Bug 1612416 - Fix failing tests for when the Search Service modern configuration is turned on. r=daleharvey 2020-02-12 17:11:23 +00:00
fxmonitor
installerprefs Bug 1592968 Followup 2 - Only clean installer pref registry values that are pref names. r=agashlin 2019-11-20 23:47:55 +00:00
library Bug 1601076 - Fix some broken BUG_COMPONENTS in moz.build files; r=jmaher 2019-12-04 13:55:45 +00:00
migration Bug 1216186 - Use the actual browser name for imported bookmark folders from Chromium. r=Gijs 2020-01-28 12:27:25 +00:00
newtab Bug 1567271 - Newtab Pocket collections r=gvn 2020-02-12 21:14:01 +00:00
originattributes Bug 1612519 - Fix "Terminating worker revokes its URLs" WPT, r=smaug 2020-02-02 09:24:37 +00:00
payments Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:24 +00:00
places Bug 1608022 - Migrate browser-sets to Fluent. r=fluent-reviewers,Gijs,flod 2020-01-30 21:07:20 +00:00
pocket Bug 1609585 - Migrate all possible uses from AppLocalesAsLangTag(s) to AppLocale(s)AsBCP47. r=marionette-reviewers,jfkthame,whimboo 2020-01-17 19:29:09 +00:00
preferences Backed out changeset edcb067bb8ea (bug 1582740) for failures on browser_defaultbrowser_alwayscheck.js. CLOSED TREE 2020-02-13 19:35:02 +02:00
privatebrowsing Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
protections Bug 1609287 - about:protections private browsing message is dark-theme friendly. r=ntim 2020-01-15 22:39:24 +00:00
protocolhandler
resistfingerprinting Bug 1613627 - Rename all 'geo.wifi' related preferences to match the 'geo.provider.' convention and move default values to all.js. r=garvan 2020-02-06 14:50:22 +00:00
safebrowsing/content/test Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato 2019-12-13 20:36:16 +00:00
search Bug 1608554: Initialize toolbartabstops in dynamically added widgets. r=Gijs 2020-02-12 01:03:18 +00:00
sessionstore Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
shell Bug 1608167 - port setDesktopBackground DTD to fluent r=Gijs,fluent-reviewers,flod 2020-02-07 12:27:21 +00:00
ssb Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
syncedtabs Bug 1602898: Rename Window.getWindowGlobalChild() to .windowGlobalChild. r=farre 2020-01-21 21:32:28 +00:00
tests Backed out changeset a9a91a4e774c (bug 1592498) revert to disabled on windows debug r=jmaher. 2019-12-09 14:23:53 +02:00
touchbar Bug 1608336 - Disable Touch Bar for non-chrome windows. r=mikedeboer 2020-02-11 09:49:11 +00:00
translation Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
uitour Bug 1608281 - Automated rewrite away from reading properties on the global this in JSM files - round 1 r=mossop 2020-01-29 21:50:04 +00:00
urlbar Bug 1614957 - strip www. prefix in address bar results. r=adw 2020-02-13 10:31:39 +00:00
webshare
.eslintrc.js
BrowserComponents.manifest
BrowserContentHandler.jsm Bug 1513855: Make sure that quit-application-granted and quit-application notifications are always sent. r=froydnj 2019-11-07 17:00:06 +00:00
BrowserGlue.jsm Bug 1614861 - Make slow startup notification bar sampler use monotonic clock. r=gsvelto 2020-02-13 20:33:56 +00:00
components.conf Bug 1601110, remove handling and references to vnd.mozilla.xul+xml r=bzbarsky 2019-12-23 23:02:05 +00:00
distribution.js
moz.build Bug 1602123: Add a page action to open the current tab into a standalone window. r=Gijs 2019-12-12 20:22:50 +00:00
nsIBrowserHandler.idl