Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/remote/cdp/test/browser/page/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 964 B image not shown  

Quelle  browser_reload.js   Sprache: JAVA

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


"use strict";

add_task(async function testReload({ client }) {
  const { Page } = client;
  await loadURL(toDataURL("halløj"));

  info("Reloading document");
  await Page.enable();
  const loaded = Page.loadEventFired();
  await Page.reload();
  await loaded;

  await SpecialPowers.spawn(gBrowser.selectedBrowser, [], () => {
    ok(!content.docShell.isForceReloading, "Document is not force-reloaded");
  });
});

add_task(async function testReloadIgnoreCache({ client }) {
  const { Page } = client;
  await loadURL(toDataURL("halløj"));

  info("Force-reloading document");
  await Page.enable();
  const loaded = Page.loadEventFired();
  await Page.reload({ ignoreCache: true });
  await loaded;

  await SpecialPowers.spawn(gBrowser.selectedBrowser, [], () => {
    ok(content.docShell.isForceReloading, "Document is force-reloaded");
  });
});

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

¤ Dauer der Verarbeitung: 0.14 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.