Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/quota/test/xpcshell/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  test_tempMetadataCleanup.js

  Sprache: JAVA
 

/**
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/publicdomain/zero/1.0/
 */


function* testSteps() {
  const tempMetadataFiles = [
    "storage/permanent/chrome/.metadata-tmp",
    "storage/permanent/chrome/.metadata-v2-tmp",
  ];

  info("Clearing");

  clear(continueToNextStepSync);
  yield undefined;

  info("Installing package");

  installPackage("tempMetadataCleanup_profile");

  info("Initializing");

  let request = init(continueToNextStepSync);
  yield undefined;

  info("Initializing origin");

  request = initPersistentOrigin(getCurrentPrincipal(), continueToNextStepSync);
  yield undefined;

  Assert.equal(request.resultCode, NS_OK, "Initialization succeeded");

  ok(!request.result, "Origin directory wasn't created");

  for (let tempMetadataFile of tempMetadataFiles) {
    info("Checking temp metadata file");

    let file = getRelativeFile(tempMetadataFile);

    let exists = file.exists();
    ok(!exists, "Temp metadata file doesn't exist");
  }

  finishTest();
}

Messung V0.5 in Prozent
C=95 H=95 G=94

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-06-10) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.