gecko-dev/dom/performance
Sean Feng 6910219457 Bug 1778345 - Align PerformanceEventTiming::GetAnElement with the spec r=emilio
There are two bugs in this function, first the function doesn't do
the `is not connected` check correctly as it supposes to use
`IsInComposed()` but rather `IsInUnComposed()`. Second, it
doesn't get the root of the element correctly.

Also this patch converts the function be static so that it can be
reused.

Differential Revision: https://phabricator.services.mozilla.com/D151081
2022-07-06 20:11:44 +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
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 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug 2022-05-31 16:48:14 +00:00
Performance.h Bug 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug 2022-05-31 16:48:14 +00:00
PerformanceEntry.cpp
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 1778345 - Align PerformanceEventTiming::GetAnElement with the spec r=emilio 2022-07-06 20:11:44 +00:00
PerformanceEventTiming.h Bug 1778345 - Align PerformanceEventTiming::GetAnElement with the spec r=emilio 2022-07-06 20:11:44 +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 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug 2022-05-31 16:48:14 +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 Bug 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug 2022-05-31 16:48:14 +00:00
PerformanceMeasure.h Bug 1762482 - update PerformanceMeasure to User Timing L3. r=sefeng,smaug 2022-05-31 16:48:14 +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
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 1768583 - Allow having a PerformanceResourceTiming entry for cross origin redirects r=necko-reviewers,dragana 2022-06-16 14:09:31 +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 1770001 - Update TimingAllowCheck function to align spec updates r=necko-reviewers,dragana 2022-06-17 15:04:18 +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