gecko-dev/dom/performance
Tom Ritter 12e7d2f648 Bug 1387894 - Avoid Double-Reducing Performance Duration objects. r=baku
While in theory
  ReducetimePrecision(x) ==  ReducetimePrecision(ReducetimePrecision(x)
this is not always the case. Sometimes ReducetimePrecision(x) is only representable
as an epsilon below the target rounding; resulting in a second call causing
an unintentional additional reduction.

A performance entry's duration was one such place we were calling the reuction
function twice. We can remove one of those calls and just ensure that the original
entries are reduced. (They mostly were, except for one instance.)

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

--HG--
extra : rebase_source : 19e92f39c1616f3497d8904b2f80b68b13bad3e7
2019-08-02 07:37:09 +02:00
..
tests Bug 1561435 - Format dom/, a=automatic-formatting 2019-07-05 10:44:55 +02:00
Performance.cpp Bug 1387894 - Avoid Double-Reducing Performance Duration objects. r=baku 2019-08-02 07:37:09 +02:00
Performance.h Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
PerformanceEntry.cpp Bug 1121623 part 5. Remove PerformanceEntry::WrapObject. r=peterv 2019-05-24 07:23:47 +00:00
PerformanceEntry.h Bug 1121623 part 5. Remove PerformanceEntry::WrapObject. r=peterv 2019-05-24 07:23:47 +00:00
PerformanceMainThread.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
PerformanceMainThread.h
PerformanceMark.cpp
PerformanceMark.h
PerformanceMeasure.cpp
PerformanceMeasure.h
PerformanceNavigation.cpp
PerformanceNavigation.h
PerformanceNavigationTiming.cpp Bug 1560495: Update unload event security information for Navigation-Timing Level 2 specification. r=baku 2019-07-09 07:19:50 +00:00
PerformanceNavigationTiming.h Bug 1387894 - Avoid Double-Reducing Performance Duration objects. r=baku 2019-08-02 07:37:09 +02:00
PerformanceObserver.cpp Bug 1557793 part 3. Change the signatures of various nsContentUtils localization methods to play nicer with the new stringbundle API. r=smaug 2019-06-08 21:26:12 +00:00
PerformanceObserver.h Bug 1539006: Properly implement Performance Timeline Level 2 w3c spec. r=mstange,baku 2019-04-12 16:29:48 +00:00
PerformanceObserverEntryList.cpp
PerformanceObserverEntryList.h Bug 1490044 - Remove DOMPrefs. r=bzbarsky 2019-06-13 09:02:03 +00:00
PerformanceResourceTiming.cpp
PerformanceResourceTiming.h
PerformanceServerTiming.cpp
PerformanceServerTiming.h
PerformanceService.cpp Bug 1523969 part 6 - Move method definition inline comments to new line in 'dom/'. r=nika 2019-02-25 16:05:29 -06:00
PerformanceService.h
PerformanceStorage.h
PerformanceStorageWorker.cpp Bug 1559919 - Finish the WorkerHolder cleanup - part 2 - Remove dead code in PerformanceStorageWorker, r=asuth 2019-07-12 11:15:46 +00:00
PerformanceStorageWorker.h
PerformanceTiming.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
PerformanceTiming.h Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
PerformanceWorker.cpp Bug 1563139 - Remove StaticPrefs.h. r=glandium 2019-07-26 01:10:23 +00:00
PerformanceWorker.h
moz.build Bug 1544352 - update BUG_COMPONENT for some dom/* and testing/web-platform/* files. r=overholt,jmaher 2019-04-25 09:14:08 +00:00