Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/dom/indexedDB/test/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1012 B image not shown  

Quelle  leaving_page_iframe.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/dom/indexedDB/test/leaving_page_iframe.html


<!DOCTYPE html>
<html>
<head>
  <script>
var db;
function startDBWork() {
  indexedDB.open(parent.location, 1).onupgradeneeded = function(e) {
    db = e.target.result;
    if (db.objectStoreNames.contains("mystore")) {
      db.deleteObjectStore("mystore");
    }
    var store = db.createObjectStore("mystore");
    store.add({ hello: "world" }, 42);
    e.target.onsuccess = madeMod;
  };
}

function madeMod() {
  var trans = db.transaction(["mystore"], "readwrite");
  var store = trans.
              objectStore("mystore");
  trans.oncomplete = function() {
    parent.postMessage("didcommit""*");
  };

  store.put({ hello: "officer" }, 42).onsuccess = function() {
    // Make this transaction run until the end of time or until the page is
    // navigated away, whichever comes first.
    function doGet() {
      store.get(42).onsuccess = doGet;
    }
    doGet();
    document.location = "about:blank";
  };
}
  </script>
</head>
<body onload="startDBWork();">
  This is page one.
</body>
</html>

Messung V0.5
C=96 H=91 G=93

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

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