зеркало из https://github.com/mozilla/gecko-dev.git
6ebcecc30e
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 |
||
---|---|---|
.. | ||
tests | ||
Performance.cpp | ||
Performance.h | ||
PerformanceEntry.cpp | ||
PerformanceEntry.h | ||
PerformanceMainThread.cpp | ||
PerformanceMainThread.h | ||
PerformanceMark.cpp | ||
PerformanceMark.h | ||
PerformanceMeasure.cpp | ||
PerformanceMeasure.h | ||
PerformanceNavigation.cpp | ||
PerformanceNavigation.h | ||
PerformanceNavigationTiming.cpp | ||
PerformanceNavigationTiming.h | ||
PerformanceObserver.cpp | ||
PerformanceObserver.h | ||
PerformanceObserverEntryList.cpp | ||
PerformanceObserverEntryList.h | ||
PerformanceResourceTiming.cpp | ||
PerformanceResourceTiming.h | ||
PerformanceService.cpp | ||
PerformanceService.h | ||
PerformanceStorage.h | ||
PerformanceStorageWorker.cpp | ||
PerformanceStorageWorker.h | ||
PerformanceTiming.cpp | ||
PerformanceTiming.h | ||
PerformanceWorker.cpp | ||
PerformanceWorker.h | ||
moz.build |