Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,25 @@ The machine's processor architecture.

Values of this type are strings. Possible values are:

- `"aarch64"`
- : The platform is based on the ARM 64-bit architecture.
- `"arm"`
- : The platform is based on arm architecture.
- : The platform is based on the ARM 32-bit architecture.
- `"arm64"`
- : The platform is based on the ARM 64-bit architecture.
- `"mips"`
- : The platform is based on the 32-bit MIPS instruction set architecture (ISA).
- `"mips64"`
- : The platform is based on the 64-bit MIPS instruction set architecture (ISA).
- `"riscv64"`
- : The platform is based on the 64-bit implementation of the RISC-V open-standard instruction set architecture (ISA).
- `"x86-32"`
- : The platform is based on x86 32-bit architecture.
- : The platform is based on the x86 32-bit architecture.
- `"x86-64"`
- : The platform is based on x86 64-bit architecture.
- : The platform is based on the x86 64-bit architecture.

> [!NOTE]
> This list may be incomplete. In particular, it may not reflect unofficial builds for other platforms.

{{WebExtExamples}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ The enumerated value representing the CPU instruction set architecture of Google
## Type

- `ARM`
- : The string literal `"arm"`. Represents all versions of the ARM ISA, including all 32-bit and 64-bit variants. Equivalent to [`PlatformArch.arm`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/PlatformArch#arm) (32-bit variant) and `PlatformArch.arm64` combined into one value.
- : The string literal `"arm"`. Represents all versions of the ARM ISA, including all 32-bit and 64-bit variants. Equivalent to [`PlatformArch.arm`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/PlatformArch#arm) (32-bit variant) and [`PlatformArch.arm64`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/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`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/PlatformArch#x86-32).
- `X86_64`
- : The string literal `"x86-64"`. Represents the 64-bit variant of the x86 architecture. Equivalent to [`PlatformArch.X86_64`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/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`.
- : The string literal `"mips"`. Represents the 32-bit variant of the MIPS ISA, which was never supported by official releases. Equivalent to [`PlatformArch.mips`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/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`.
- : The string literal `"mips64"`. Represents the 64-bit variant of the MIPS ISA, which was never supported by official releases. Equivalent to [`PlatformArch.mips64`](/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/PlatformArch#xmips64).

{{WebExtExamples}}

Expand Down
Loading