gecko-dev/dom/performance
Tom Ritter 6ebcecc30e Bug 1440195 Add a random context seed to the Performance APIs r=baku
We attach it to WorkerPrivate and DOMNavigationTiming so it will be re-used
when it should.

WorkerPrivate is used in the Performance APIs, Performance Storage Worker,
and Event.

DOMNavigationTiming is used only in the Performance APIs, but the crucial
part is that when the individual DOMNavigationTiming object is re-used,
so will the context seed. This in particular came up with the
nav2_test_document_open.html Web Platform Test which illustrated the fact
that even if you .open() a new document, the performance navigation data
is not supposed to change.

MozReview-Commit-ID: GIv6biEo2jY

--HG--
extra : rebase_source : da2ad8d9d6e0172679c6af14dba72938e9d2012c
2018-03-13 12:36:34 -05:00
..
tests Bug 1444150 Performance.measure(name) should not throw if name is one of the readonly attribute of the Performance interface, r=valentin 2018-03-09 08:23:44 +01:00
moz.build Bug 1432963 - Fixing workers headers - part 14 - WorkerPrivate without workers namespace, r=smaug 2018-01-31 08:24:08 +01:00
Performance.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
Performance.h Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceEntry.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceEntry.h Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMainThread.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceMainThread.h Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceMark.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMark.h
PerformanceMeasure.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMeasure.h
PerformanceNavigation.cpp Bug 1425458 - Resource timing entries Workers - part 2 - PerformanceTimingData, r=smaug 2018-01-24 17:17:31 +01:00
PerformanceNavigation.h
PerformanceNavigationTiming.cpp Bug 1425458 - Resource timing entries Workers - part 2 - PerformanceTimingData, r=smaug 2018-01-24 17:17:31 +01:00
PerformanceNavigationTiming.h Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceObserver.cpp Bug 1436692 - Implement PerformanceObserver::takeRecords(), r=valentin 2018-02-08 17:43:25 +01:00
PerformanceObserver.h Bug 1436692 - Implement PerformanceObserver::takeRecords(), r=valentin 2018-02-08 17:43:25 +01:00
PerformanceObserverEntryList.cpp Bug 1396228 - Filter out by type if the type if specified for PerformanceEntry.getEntries. r=baku 2017-09-02 21:42:00 +09:00
PerformanceObserverEntryList.h Bug 1436744 - Get rid of WorkerCheckAPIExposureOnMainThreadRunnable, r=catalinb 2018-02-12 21:02:22 +01:00
PerformanceResourceTiming.cpp Bug 1425458 - Resource timing entries Workers - part 2 - PerformanceTimingData, r=smaug 2018-01-24 17:17:31 +01:00
PerformanceResourceTiming.h Bug 1425458 - Resource timing entries Workers - part 2 - PerformanceTimingData, r=smaug 2018-01-24 17:17:31 +01:00
PerformanceService.cpp
PerformanceService.h
PerformanceStorage.h Bug 1425458 - Resource timing entries Workers - part 3 - PerformanceStorageWorker, r=smaug 2018-01-24 17:17:32 +01:00
PerformanceStorageWorker.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceStorageWorker.h Bug 1445540 - Use WorkerRef in PerformanceStorageWorker, r=smaug 2018-03-14 15:27:13 +01:00
PerformanceTiming.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceTiming.h Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceWorker.cpp Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00
PerformanceWorker.h Bug 1440195 Add a random context seed to the Performance APIs r=baku 2018-03-13 12:36:34 -05:00