Commit 167c9b24 authored by Otto Länd's avatar Otto Länd
Browse files

Bug 1834737: apply code formatting via Lando

# ignore-this-changeset
parent df42b5ce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -497,8 +497,8 @@ bool Navigator::PdfViewerEnabled() {
  // We ignore pdfjs.disabled when resisting fingerprinting.
  // See bug 1756280 for an explanation.
  return !StaticPrefs::pdfjs_disabled() ||
         nsContentUtils::ShouldResistFingerprinting(
                      GetDocShell(), RFPTarget::Unknown);
         nsContentUtils::ShouldResistFingerprinting(GetDocShell(),
                                                    RFPTarget::Unknown);
}

Permissions* Navigator::GetPermissions(ErrorResult& aRv) {
+2 −1
Original line number Diff line number Diff line
@@ -2037,7 +2037,8 @@ static nsresult CreateNativeGlobalForInner(
  creationOptions.setDefineSharedArrayBufferConstructor(
      aDefineSharedArrayBufferConstructor);

  // TODO(bug 1834744) we will need some way of passing different targets to the JS engine
  // TODO(bug 1834744) we will need some way of passing different targets to the
  // JS engine
  xpc::InitGlobalObjectOptions(options, principal->IsSystemPrincipal(),
                               aDocument->ShouldResistFingerprinting(
                                   RFPTarget::IsAlwaysEnabledForPrecompute));