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


Quelle  page_localstorage_snapshotting.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/tests/browser/page_localstorage_snapshotting.html


<!doctype html>
<html>
<head>
  <meta charset="utf-8">
<script>
/**
 * Helper page used by browser_localStorage_snapshotting.js.
 *
 * We expose methods to be invoked by ContentTask.spawn() calls.
 *
 **/
var pageName = document.location.search.substring(1);
window.addEventListener(
  "load",
  () => { document.getElementById("pageNameH").textContent = pageName; });

function applyMutations(mutations) {
  mutations.forEach(function([key, value]) {
    if (key !== null) {
      if (value === null) {
        localStorage.removeItem(key);
      } else {
        localStorage.setItem(key, value);
      }
    } else {
      localStorage.clear();
    }
  });
}

function getState() {
  let state = {};
  let length = localStorage.length;
  for (let index = 0; index < length; index++) {
    let key = localStorage.key(index);
    state[key] = localStorage.getItem(key);
  }
  return state;
}

function getKeys() {
  return Object.keys(localStorage);
}

function beginExplicitSnapshot() {
  localStorage.beginExplicitSnapshot();
}

function checkpointExplicitSnapshot() {
  localStorage.checkpointExplicitSnapshot();
}

function endExplicitSnapshot() {
  localStorage.endExplicitSnapshot();
}

function getHasSnapshot() {
  return localStorage.hasSnapshot;
}

function getSnapshotUsage() {
  return localStorage.snapshotUsage;
}

</script>
</head>
<body><h2 id="pageNameH"></h2></body>
</html>

Messung V0.5
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.20 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

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

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge