Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


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
C=98 H=100 G=98

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge