On this page
Overview
Maps kernel names to presentation labels/classes without granting platform authority.
- Artifact
SystemPlatformPresentation.js· classic-script - Classification
public first party - Availability
Browser / native WebView classic script - Normalization
Fully normalized presentation only.
Import and lifecycle
<script src="/arcane/modules/SystemPlatformPresentation.js"></script>
Classic-script load installs or overwrites frozen globalThis.ArcaneSystemPlatformPresentation. kernelType()/displayName() are pure; apply() replaces only arcane-kernel classes and the matching dataset field.
Application-facing behavior: No ESM exports; global ArcaneSystemPlatformPresentation with kernelType(), displayName(), apply().
Protocol and host implementation
DOM This detail does not widen the application-facing API or grant authority.
Exports, signatures, parameters, and results
This artifact has no ESM bindings. Its public load, global, asset, or worker contract is listed below.
| Callable | Kind | Exact public signature | Parameter syntax |
|---|---|---|---|
ArcaneSystemPlatformPresentation.kernelType | global-member | function kernelType(status = {}) | status = {} |
ArcaneSystemPlatformPresentation.displayName | global-member | function displayName(status = {}) | status = {} |
ArcaneSystemPlatformPresentation.apply | global-member | function apply(status = {}, root = globalObject.document?.documentElement) | status = {}, root = globalObject.document?.documentElement |
| Member | Kind | Exact public declaration | Parameter syntax |
|---|---|---|---|
ArcaneSystemPlatformPresentation.kernelType | static global-method | function kernelType(status = {}) | status = {} |
ArcaneSystemPlatformPresentation.displayName | static global-method | function displayName(status = {}) | status = {} |
ArcaneSystemPlatformPresentation.apply | static global-method | function apply(status = {}, root = globalObject.document?.documentElement) | status = {}, root = globalObject.document?.documentElement |
Parameter meanings and results
Global API kernelType(status) returns 'nt', 'linux', or null; displayName(status) returns a normalized label; apply(status,root=document.documentElement) returns frozen {kernelType,displayName}.
Events, side effects, and errors
Source-literal CustomEvent dispatches
No source-literal CustomEvent dispatch is part of this artifact.
Lifecycle and event flow
This artifact has no additional documented lifecycle event flow.
Direct coded failures
This artifact directly assigns no stable coded failure.
Exported Error subclasses
This artifact exports no Error subclass.
Documented failure behavior
No additional module-specific rejection behavior is documented.
Availability and capabilities
Browser / native WebView classic script. Fully normalized presentation only.
None; supplied platform status remains evidence owned by its caller, and presentation metadata grants no authority.
Load example
<script src="/arcane/modules/SystemPlatformPresentation.js"></script>
<script>
console.log(ArcaneSystemPlatformPresentation.apply({platform:'windows'}));
</script>
Related reference
No direct Core call is claimed for this artifact. Any injected provider or consuming module retains its own documented authority.