runtime.PlatformNaclArch

Deprecated: This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The enumerated value representing the CPU instruction set architecture of Google Native Client used by the browser. This enum is deprecated, following the removal of Google Native Client from Google Chrome. As of 2026, Chromium intends to remove this enum. Consider migrating to runtime.PlatformArch in runtime.PlatformInfo which you obtain using runtime.getPlatformInfo().

Possible values

ARM

The string literal "arm". Represents all versions of the ARM ISA, including all 32-bit and 64-bit variants. Equivalent to PlatformArch.arm (32-bit variant) and PlatformArch.arm64 combined into one value.

X86_32

The string literal "x86-32". Represents the 32-bit variant of the x86 architecture. Equivalent to PlatformArch.x86_32.

X86_64

The string literal "x86-64". Represents the 64-bit variant of the x86 architecture. Equivalent to PlatformArch.X86_64.

MIPS

The string literal "mips". Represents the 32-bit variant of the MIPS ISA, which was never supported by official releases. Equivalent to PlatformArch.mips.

MIPS64

The string literal "mips64". Represents the 64-bit variant of the MIPS ISA, which was never supported by official releases. Equivalent to PlatformArch.mips64.

Browser compatibility

Note: This API is based on Chromium's chrome.runtime API. This documentation is derived from runtime.json in the Chromium code.