products/Sources/formale Sprachen/C/Firefox/dom/html/reftests/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 239 B image not shown  

Quelle  base_uri_worker.js

  Sprache: JAVA
 

// This file is for testing the module loader's path handling.
// ESLint rules that modifies path shouldn't be applied.

onmessage = async event => {
  // This file is loaded as resource://test/data/base_uri_worker.js
  // Relative/absolute paths should be resolved based on the URI, instead of
  // file: path.

  const namespaceWithURI =
    await import("resource://test/data/base_uri_module.mjs");
  const namespaceWithCurrentDir = await import("./base_uri_module.mjs");
  const namespaceWithParentDir = await import("../data/base_uri_module.mjs");
  const namespaceWithAbsoluteDir = await import("/data/base_uri_module.mjs");

  postMessage({
    scriptToModule: {
      equal1: namespaceWithURI.obj == namespaceWithCurrentDir.obj,
      equal2: namespaceWithURI.obj == namespaceWithParentDir.obj,
      equal3: namespaceWithURI.obj == namespaceWithAbsoluteDir.obj,
    },
    moduleToModuleURI: await namespaceWithURI.doImport(),
    moduleToModuleCurrent: await namespaceWithCurrentDir.doImport(),
    moduleToModuleParent: await namespaceWithParentDir.doImport(),
    moduleToModuleAbsolute: await namespaceWithAbsoluteDir.doImport(),
  });
};

Messung V0.5 in Prozent
C=86 H=93 G=89

¤ Dauer der Verarbeitung: 0.0 Sekunden  (vorverarbeitet am  2026-08-26) ¤

*© Formatika GbR, Deutschland






über den Urheber dieser Seite

Die Firma ist wie angegeben erreichbar.

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.