mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 04:38:02 +00:00
Bug 1192787 - Readd performance enabled test to ResponseEndHighRes; r=baku
This commit is contained in:
parent
eed2b5bfff
commit
6ed5a2c6c8
@ -348,7 +348,7 @@ nsPerformanceTiming::ResponseStart()
|
||||
DOMHighResTimeStamp
|
||||
nsPerformanceTiming::ResponseEndHighRes()
|
||||
{
|
||||
if (!IsInitialized()) {
|
||||
if (!nsContentUtils::IsPerformanceTimingEnabled() || !IsInitialized()) {
|
||||
return mZeroTime;
|
||||
}
|
||||
if (mResponseEnd.IsNull() ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user