mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
No bug: apply code formatting via Lando
# ignore-this-changeset
This commit is contained in:
parent
0bcbba8e64
commit
cda6577f9f
@ -2045,9 +2045,8 @@ static nsresult CreateNativeGlobalForInner(
|
||||
creationOptions.setDefineSharedArrayBufferConstructor(
|
||||
aDefineSharedArrayBufferConstructor);
|
||||
|
||||
xpc::InitGlobalObjectOptions(
|
||||
options, principal->IsSystemPrincipal(),
|
||||
aDocument->ShouldResistFingerprinting());
|
||||
xpc::InitGlobalObjectOptions(options, principal->IsSystemPrincipal(),
|
||||
aDocument->ShouldResistFingerprinting());
|
||||
|
||||
// Determine if we need the Components object.
|
||||
bool needComponents = principal->IsSystemPrincipal();
|
||||
|
@ -59,7 +59,6 @@ namespace JS::loader {
|
||||
class ModuleLoaderBase;
|
||||
} // namespace JS::loader
|
||||
|
||||
|
||||
// Reduce Timer Precision (RTP) Caller Type
|
||||
// This lives here because anything dealing with RTPCallerType determines it
|
||||
// through this object.
|
||||
|
@ -148,8 +148,9 @@ already_AddRefed<File> Blob::ToFile(const nsAString& aName,
|
||||
nsAutoString contentType;
|
||||
mImpl->GetType(contentType);
|
||||
|
||||
RefPtr<MultipartBlobImpl> impl = MultipartBlobImpl::Create(
|
||||
std::move(blobImpls), aName, contentType, mGlobal->GetRTPCallerType(), aRv);
|
||||
RefPtr<MultipartBlobImpl> impl =
|
||||
MultipartBlobImpl::Create(std::move(blobImpls), aName, contentType,
|
||||
mGlobal->GetRTPCallerType(), aRv);
|
||||
if (NS_WARN_IF(aRv.Failed())) {
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -262,7 +262,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetNavigationStart(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec UnloadEventStart() {
|
||||
@ -271,7 +272,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetUnloadEventStart(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec UnloadEventEnd() {
|
||||
@ -280,7 +282,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetUnloadEventEnd(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
// Low resolution (used by navigation timing)
|
||||
@ -311,7 +314,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetDomInteractive(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec DomContentLoadedEventStart() const {
|
||||
@ -320,7 +324,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetDomContentLoadedEventStart(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec DomContentLoadedEventEnd() const {
|
||||
@ -329,7 +334,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetDomContentLoadedEventEnd(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec DomComplete() const {
|
||||
@ -347,7 +353,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetLoadEventStart(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec LoadEventEnd() const {
|
||||
@ -356,7 +363,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetLoadEventEnd(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec TimeToNonBlankPaint() const {
|
||||
@ -365,7 +373,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetTimeToNonBlankPaint(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec TimeToContentfulPaint() const {
|
||||
@ -374,7 +383,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetTimeToContentfulComposite(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec TimeToDOMContentFlushed() const {
|
||||
@ -383,7 +393,8 @@ class PerformanceTiming final : public nsWrapperCache {
|
||||
}
|
||||
return nsRFPService::ReduceTimePrecisionAsMSecs(
|
||||
GetDOMTiming()->GetTimeToDOMContentFlushed(),
|
||||
mPerformance->GetRandomTimelineSeed(), mPerformance->GetRTPCallerType());
|
||||
mPerformance->GetRandomTimelineSeed(),
|
||||
mPerformance->GetRTPCallerType());
|
||||
}
|
||||
|
||||
DOMTimeMilliSec TimeToFirstInteractive() const {
|
||||
|
Loading…
Reference in New Issue
Block a user