Quellcodebibliothek Statistik Leitseite    (Firefox Browser Version 153.0.1©)  

Nach dem Mausklick ist die Projektion eines vierdimensionalen Würfels zu sehen test_objectgrips-23.js   Sprache: JAVA

 

/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */


// Test that ES6 classes grip have the expected properties.

"use strict";

Services.prefs.setBoolPref("security.allow_eval_with_system_principal", true);
registerCleanupFunction(() => {
  Services.prefs.clearUserPref("security.allow_eval_with_system_principal");
});

add_task(
  threadFrontTest(async ({ threadFront, debuggee }) => {
    const packet = await executeOnNextTickAndWaitForPause(
      () => evalCode(debuggee),
      threadFront
    );

    const [grip] = packet.frame.arguments;
    strictEqual(
      grip.class,
      "Function",
      `Grip has expected value for "class" property`
    );
    strictEqual(
      grip.isClassConstructor,
      true,
      `Grip has expected value for "isClassConstructor" property`
    );

    await threadFront.resume();
  })
);

function evalCode(debuggee) {
  debuggee.eval(`
    class MyClass {};
    stopMe(MyClass);

    function stopMe(arg1) {
      debugger;
    }
  `);
}

Messung V0.5 in Prozent
C=96 H=60 G=80

¤ 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.0.12Bemerkung:  (vorverarbeitet am  2026-09-27) ¤

*Bot Zugriff






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Anfrage:

Dauer der Verarbeitung:

Sekunden

sprechenden Kalenders