Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/sessionstore/test/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 671 B image not shown  

Quelle  browser_581937.js

  Sprache: JAVA
 

// Tests that an about:blank tab with no history will not be saved into
// session store and thus, it will not show up in Recently Closed Tabs.

"use strict";

add_task(async function () {
  let tab = BrowserTestUtils.addTab(gBrowser, "about:blank");
  await promiseBrowserLoaded(tab.linkedBrowser);

  is(
    tab.linkedBrowser.currentURI.spec,
    "about:blank",
    "we will be removing an about:blank tab"
  );

  let r = `rand-${Math.random()}`;
  ss.setCustomTabValue(tab, "foobar", r);

  await promiseRemoveTabAndSessionState(tab);
  let closedTabData = ss.getClosedTabDataForWindow(window);
  ok(!closedTabData.includes(r), "tab not stored in _closedTabs");
});

Messung V0.5 in Prozent
C=91 H=94 G=92

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

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