Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  test_set_easing.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/animation/test/mozilla/test_set_easing.html


<!doctype html>
<head>
<meta charset=utf-8>
<title>Test setting easing in sandbox</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="../testcommon.js"></script>
</head>
<body>
<div id="log"></div>
<script>
"use strict";

test(function(t) {
  const div = document.createElement("div");
  document.body.appendChild(div);
  div.animate({ opacity: [01] }, 100000 );

  const contentScript = function() {
    try {
      document.getAnimations()[0].effect.updateTiming({ easing: 'linear' });
      assert_true(true, 'Setting easing should not throw in sandbox');
    } catch (e) {
      assert_unreached('Setting easing threw ' + e);
    }
  };

  const sandbox = new SpecialPowers.Cu.Sandbox(window);
  sandbox.importFunction(document, "document");
  sandbox.importFunction(assert_true, "assert_true");
  sandbox.importFunction(assert_unreached, "assert_unreached");
  SpecialPowers.Cu.evalInSandbox(`(${contentScript.toString()})()`, sandbox);
}, 'Setting easing should not throw any exceptions in sandbox');

</script>
</body>

Messung V0.5 in Prozent
C=90 H=96 G=93

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002