Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/browser/components/sessionstore/test/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 717 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 BrowserTestUtils.browserLoaded(tab.linkedBrowser, {
    wantLoad: "about:blank",
  });

  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=81 H=93 G=86

¤ Dauer der Verarbeitung: 0.4 Sekunden  ¤

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