products/Sources/formale Sprachen/C/Firefox/third_party/rust/minidump-writer/src/windows/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 126 B image not shown  

Quelle  test_unsupported_mkv.html   Sprache: HTML

 

 products/Sources/formale Sprachen/C/Firefox/dom/media/test/test_unsupported_mkv.html


<!DOCTYPE html>
<html>
<head>
    <title>Unsupported MKV codecs test</title>
    <link rel="stylesheet" href="/tests/SimpleTest/test.css">
    <script src="/tests/SimpleTest/SimpleTest.js"></script>
    <script type="text/javascript" src="manifest.js"></script>
</head>
<body>
<pre id="test">
<script>
/**
 * This test verifies that MKV files with unsupported codecs fail to load with
 * MEDIA_ERR_SRC_NOT_SUPPORTED. Tests are initially listed in gUnsupportedMKVtests
 * and moved to gMKVtests once support is implemented. When all tests have been
 * migrated to gMKVtests, this test can be removed.
 */
add_task(async function test_unsupported_mkv_sources() {
  for (const test of gUnsupportedMKVtests) {
    let v = document.createElement("video");
    document.body.appendChild(v);
    v.src = test.name;
    v.preload = "auto";

    let errorPromise = new Promise(resolve => {
      v.addEventListener("error", () => {
        is(v.error.code, MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,
           `video.error.code should be MEDIA_ERR_SRC_NOT_SUPPORTED for ${test.name}`);
        resolve();
      }, { once: true });
    });
    v.load();
    await errorPromise;

    ok(v.readyState < HTMLMediaElement.HAVE_METADATA,
       `video.readyState (${v.readyState}) should be < HAVE_METADATA for ${test.name}`);
    removeNodeAndSource(v);
  }
});
</script>
</pre>
</body>
</html>

Messung V0.5 in Prozent
C=100 H=100 G=100

¤ Dauer der Verarbeitung: 0.11 Sekunden  (vorverarbeitet am  2026-09-30) ¤

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