Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  test-console-api.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/dom/tests/browser/test-console-api.html


<!DOCTYPE HTML>
<html dir="ltr" xml:lang="en-US" lang="en-US">
  <head>
    <meta charset=utf8>
    <title>Console API test page</title>
    <script type="text/javascript">
      window.foobar585956c = function(a) {
        console.trace();
        return a + "c";
      };

      /* global foobar585956c */
      function foobar585956b(a) {
        return foobar585956c(a + "b");
      }

      function foobar585956a(omg) {
        return foobar585956b(omg + "a");
      }

      function foobar646025(omg) {
        console.log(omg, "o""d");
      }

      function startTimer(timer) {
        console.time(timer);
      }

      function stopTimer(timer) {
        console.timeEnd(timer);
      }

      function namelessTimer() {
        console.time();
        console.timeEnd();
      }

      function test() {
        var str = "Test Message.";
        console.foobar(str); // if this throws, we don't execute following funcs
        console.log(str);
        console.info(str);
        console.warn(str);
        console.error(str);
        console.exception(str);
        console.assert(false, str);
        console.count(str);
      }

      function testGroups() {
        console.groupCollapsed("a""group");
        console.group("b""group");
        console.groupEnd();
      }

      function nativeCallback() {
        new Promise(function(resolve) { resolve(42); }).then(console.log);
      }

      function timeStamp(val) {
        console.timeStamp(val);
      }
    </script>
  </head>
  <body>
    <h1>Console API Test Page</h1>
    <button onclick="test();">Log stuff</button>
    <button id="test-trace" onclick="foobar585956a('omg');">Test trace</button>
    <button id="test-location" onclick="foobar646025('omg');">Test location</button>
    <button id="test-nativeCallback" onclick="nativeCallback();">Test nativeCallback</button>
    <button id="test-groups" onclick="testGroups();">Test groups</button>
    <button id="test-time" onclick="startTimer('foo');">Test time</button>
    <button id="test-timeEnd" onclick="stopTimer('foo');">Test timeEnd</button>
    <button id="test-namelessTimer" onclick="namelessTimer();">Test namelessTimer</button>
    <button id="test-timeStamp" onclick="timeStamp('!!!')">Test timeStamp</button>
    <button id="test-emptyTimeStamp" onclick="timeStamp();">Test emptyTimeStamp</button>
  </body>
</html>

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

¤ Dauer der Verarbeitung: 0.17 Sekunden  (vorverarbeitet am  2026-06-05) ¤

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

Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik