Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

F NIGHT ECMA / ecmascript toprimitive method completion trace

An offline coercion-test agent needs the normative method call trace and completion class from explicit primitive-hook and ordinary-method result classes. It does not execute callbacks, convert values or return source text.

POST https://detect.halowerk.com/v1/F-NIGHT-ECMA/ecmascript-toprimitive-method-completion-trace

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "artifact"
  ],
  "properties": {
    "artifact": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "toprimitive"
      ],
      "properties": {
        "toprimitive": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "hint",
            "exotic",
            "valueOf",
            "toString",
            "claim"
          ],
          "properties": {
            "hint": {
              "enum": [
                "default",
                "string",
                "number"
              ]
            },
            "exotic": {
              "enum": [
                "absent",
                "noncallable",
                "primitive",
                "object",
                "throw",
                "null"
              ],
              "description": "Admitted GetMethod result class; null and absent both mean an absent hook."
            },
            "valueOf": {
              "enum": [
                "absent",
                "noncallable",
                "primitive",
                "object",
                "throw"
              ]
            },
            "toString": {
              "enum": [
                "absent",
                "noncallable",
                "primitive",
                "object",
                "throw"
              ]
            },
            "claim": {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "completion",
                "calls"
              ],
              "properties": {
                "completion": {
                  "enum": [
                    "normal",
                    "TypeError",
                    "throw"
                  ]
                },
                "calls": {
                  "type": "array",
                  "maxItems": 2,
                  "items": {
                    "enum": [
                      "exotic",
                      "valueOf",
                      "toString"
                    ]
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

Originalschema öffnen

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →