gecko-dev/dom/performance
Michael Comella 3f9fef6bd8 Bug 1767063 - make PerformanceEntry.mEpoch narrowing conversion explicit. r=sefeng
The converted value gets passed into TimingNotification which assigns the value
into a PerformanceEntry (this is the only usage). Since PerformanceEntry is
defined in WebIDL, we could not change its types (which is double for mEpoch) so
we were forced to safely convert the value where we did.

I don't think the existing conversion code had any bugs since we converted a
64-bit signed integer timestamp into uint64_t (safe) into a double (which is
safe for the reasons mentioned in the code comments).

Differential Revision: https://phabricator.services.mozilla.com/D145142
2022-05-18 17:22:15 +00:00
..
tests Bug 1724645 - add test_performance_user_timing_dying_global.html. r=sefeng,smaug 2022-04-26 19:30:53 +00:00
EventCounts.cpp Bug 1710682 - Make Event::GetEventName returns a char16_t r=smaug 2021-05-11 20:11:01 +00:00
EventCounts.h Bug 1768189 - Part 23: Apply modernize-concat-nested-namespaces to dom/network/TCPServerSocketChild.h ... r=andi 2022-05-09 20:41:12 +00:00
Performance.cpp Bug 1767063 - make PerformanceEntry.mEpoch narrowing conversion explicit. r=sefeng 2022-05-18 17:22:15 +00:00
Performance.h Bug 1767063 - make PerformanceEntry.mEpoch narrowing conversion explicit. r=sefeng 2022-05-18 17:22:15 +00:00
PerformanceEntry.cpp Bug 1667836 - Make performance entries may have different `should add entry` algorithm r=smaug 2021-02-09 18:54:46 +00:00
PerformanceEntry.h Bug 1768189 - Part 23: Apply modernize-concat-nested-namespaces to dom/network/TCPServerSocketChild.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceEventTiming.cpp Bug 1455514 - part 1: Add accessors and static helper methods to retrieve `nsINode` or its concrete classes from `EventTarget` r=smaug 2021-11-02 13:03:43 +00:00
PerformanceEventTiming.h Bug 1692213 - Use raw timestamp internally for PerformanceEventTiming r=smaug 2021-02-22 15:36:45 +00:00
PerformanceMainThread.cpp Bug 1767063 - make PerformanceEntry.mEpoch narrowing conversion explicit. r=sefeng 2022-05-18 17:22:15 +00:00
PerformanceMainThread.h Bug 1768189 - Part 23: Apply modernize-concat-nested-namespaces to dom/network/TCPServerSocketChild.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceMark.cpp Bug 1724645 - update PerformanceMark to User Timing L3. r=sefeng,smaug 2022-04-26 19:30:52 +00:00
PerformanceMark.h Bug 1768189 - Part 23: Apply modernize-concat-nested-namespaces to dom/network/TCPServerSocketChild.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceMeasure.cpp
PerformanceMeasure.h Bug 1768189 - Part 23: Apply modernize-concat-nested-namespaces to dom/network/TCPServerSocketChild.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceNavigation.cpp
PerformanceNavigation.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceNavigationTiming.cpp Bug 1733503 - Don't expose redirectStart and redirectEnd when there's a cross-origin redirect for PerformanceNavigationTiming r=smaug 2021-10-01 16:58:36 +00:00
PerformanceNavigationTiming.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceObserver.cpp Bug 1744025 - Replace include "mozilla/dom/WorkerPrivate.h" with include "mozilla/dom/WorkerScope.h" where WorkerPrivate->GlobalScope() is called. r=dom-worker-reviewers,smaug,jstutte 2022-01-25 08:53:03 +00:00
PerformanceObserver.h
PerformanceObserverEntryList.cpp Bug 1688312 - Consider to use nsAtoms in PerformanceEntry, r=sefeng 2021-01-24 12:16:55 +00:00
PerformanceObserverEntryList.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformancePaintTiming.cpp Bug 1766725 - Fix the mRawStarTime typo in PerformancePaintTiming.r=sefeng 2022-05-09 14:33:23 +00:00
PerformancePaintTiming.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceResourceTiming.cpp Bug 1751678 - Make FetchStart uses StarTime when TAO check fails for PerformanceResourceTiming r=smaug 2022-03-18 16:08:12 +00:00
PerformanceResourceTiming.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceServerTiming.cpp
PerformanceServerTiming.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceService.cpp Bug 1207753 - Add MOZ_UNANNOTATED to all Mutexes/Monitors r=nika,kershaw 2022-03-16 18:47:08 +00:00
PerformanceService.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceStorage.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceStorageWorker.cpp Bug 1207753 - dom misc thread-safety annotations r=hsivonen,smaug 2022-03-25 13:32:35 +00:00
PerformanceStorageWorker.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceTiming.cpp Bug 1754365 - Adding IPCPerformanceTimingData for serialize/deserialize PerformanceTimingData for IPC. r=dom-worker-reviewers,jesup 2022-02-27 00:26:21 +00:00
PerformanceTiming.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
PerformanceTimingTypes.ipdlh Bug 1754365 - Adding IPCPerformanceTimingData for serialize/deserialize PerformanceTimingData for IPC. r=dom-worker-reviewers,jesup 2022-02-27 00:26:21 +00:00
PerformanceWorker.cpp Bug 1744025: Use CheckedUnsafePtr<WorkerPrivate> in WorkerGlobalScopeBase. r=dom-worker-reviewers,asuth 2022-01-25 08:53:00 +00:00
PerformanceWorker.h Bug 1768189 - Part 24: Apply modernize-concat-nested-namespaces to dom/performance/PerformanceNavigation.h ... r=andi 2022-05-09 20:41:12 +00:00
moz.build Bug 1765866 - Update the BUG_COMPONENT for Performance APIs to DOM: Performance r=smaug 2022-04-22 00:27:38 +00:00