Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  test_addon_webext_xpi.js

  Sprache: JAVA
 

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


// This test verifies that install of web extensions sync to other profiles.
// It's more or less copied from test_addon_restartless_xpi with a different id.

EnableEngines(["addons"]);

var phases = {
  phase01: "profile1",
  phase02: "profile2",
  phase03: "profile1",
  phase04: "profile2",
  phase05: "profile1",
  phase06: "profile2",
  phase07: "profile1",
  phase08: "profile2",
};

const id = "test-webext@quality.mozilla.org";

// Verify install is synced
Phase("phase01", [
  [Addons.verifyNot, [id]],
  [Addons.install, [id]],
  [Addons.verify, [id], STATE_ENABLED],
  [Sync],
]);
Phase("phase02", [
  [Addons.verifyNot, [id]],
  [Sync],
  [Addons.verify, [id], STATE_ENABLED],
]);

// Now disable and see that is is synced.
Phase("phase03", [
  [EnsureTracking],
  [Addons.setEnabled, [id], STATE_DISABLED],
  [Addons.verify, [id], STATE_DISABLED],
  [Sync],
]);
Phase("phase04", [[Sync], [Addons.verify, [id], STATE_DISABLED]]);

// Enable and see it is synced.
Phase("phase05", [
  [EnsureTracking],
  [Addons.setEnabled, [id], STATE_ENABLED],
  [Addons.verify, [id], STATE_ENABLED],
  [Sync],
]);
Phase("phase06", [[Sync], [Addons.verify, [id], STATE_ENABLED]]);

// Uninstall and see it is synced.
Phase("phase07", [
  [EnsureTracking],
  [Addons.verify, [id], STATE_ENABLED],
  [Addons.uninstall, [id]],
  [Addons.verifyNot, [id]],
  [Sync],
]);
Phase("phase08", [
  [Addons.verify, [id], STATE_ENABLED],
  [Sync],
  [Addons.verifyNot, [id]],
]);

Messung V0.5 in Prozent
C=82 H=98 G=90

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002