gecko-dev/dom/performance
sanketh 8b9dee2da4 Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku
In RFP mode, we do not support `PerformanceNavigationTiming`, so don't expose
it. In particular, `window.PerformanceNavigationTiming` should return
`undefined`.

Added a new method `PerformanceNavigationTiming::Enabled` which when used with
the WebIDL `Func` attribute allows us to toggle whether
`window.PerformanceNavigationTiming` is exposed.

Created
`dom/tests/mochitest/general/test_toggling_performance_navigation_timing.html`
to test whether the toggling works. Updated
`browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js`
to create a new window each time `privacy.resistFingerprinting` is flipped so
this behavior does not leak into other tests.

Differential Revision: https://phabricator.services.mozilla.com/D73528
2020-05-07 16:33:38 +00:00
..
tests Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
Performance.cpp Bug 1626570 - Improve handling of copying arrays in dom/performance/. r=smaug 2020-05-05 14:15:00 +00:00
Performance.h Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
PerformanceEntry.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceEntry.h
PerformanceMainThread.cpp Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku 2020-05-07 16:33:38 +00:00
PerformanceMainThread.h Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
PerformanceMark.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceMark.h
PerformanceMeasure.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceMeasure.h
PerformanceNavigation.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceNavigation.h
PerformanceNavigationTiming.cpp Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku 2020-05-07 16:33:38 +00:00
PerformanceNavigationTiming.h Bug 1511941 - Don't expose PerformanceNavigationTiming in RFP mode r=tjr,baku 2020-05-07 16:33:38 +00:00
PerformanceObserver.cpp Bug 1604066 - Removing Return on Void Statement in PerformanceOberserver::ReportUnsupportedTypesErrorToConsole() r=sylvestre 2020-01-13 18:13:37 +00:00
PerformanceObserver.h Bug 1620632 - Ensure nsTArray_Impl only declares a copy-constructor/assignment operator if E is copy-constructible. r=froydnj 2020-03-20 17:13:51 +00:00
PerformanceObserverEntryList.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceObserverEntryList.h Bug 1626570 - Improve handling of copying arrays in dom/performance/. r=smaug 2020-05-05 14:15:00 +00:00
PerformanceResourceTiming.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
PerformanceResourceTiming.h
PerformanceServerTiming.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
PerformanceServerTiming.h
PerformanceService.cpp
PerformanceService.h
PerformanceStorage.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/performance. r=smaug 2020-03-04 09:10:03 +00:00
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 Bug 1626570 - Improve handling of copying arrays in dom/performance/. r=smaug 2020-05-05 14:15:00 +00:00
PerformanceTiming.h Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
PerformanceWorker.cpp Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
PerformanceWorker.h Bug 1586761 - P3 - Use new methods in dom/performance; r=tjr,baku 2020-03-25 14:09:42 +00:00
moz.build Bug 1557447 - Profiler support for IPC information; r=nika,smaug 2019-10-21 20:51:07 +00:00