Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
5 results across 6 corpora for runtime.PlatformInfo.
Developer library 5
runtime
. - runtime.PlatformOs - : Identifies the browser's operating system. - runtime.PlatformArch - : Identifies the browser's processor architecture. - runtime.PlatformInfo - : Contains information about the platform the browser is running on. - runtime.PlatformNaclArch - : The deprecated enumeration value representing Google Native Client architecture. Consider migrating to `PlatformArch`, which is supported by
runtime.PlatformNaclArch
> [!NOTE] > **This type is deprecated** in favor of runtime.PlatformArch. `PlatformArch` is also available in runtime.PlatformInfo, which you obtain using runtime.getPlatformInfo(). 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 t
runtime.PlatformInfo
Browser compatibility > [!NOTE] > This API is based on Chromium's [`chrome.runtime`](https://developer.chrome.com/docs/extensions/reference/api/runtime#type-PlatformInfo) API. This documentation is derived from [`runtime.json`](https://chromium.googlesource.com/chromium/src/+/master/extensions/common/api/runtime.json) in the Chromium code. <!-- // Copyright 2015 The Chromium Authors. All rights reserved. // // Re
runtime.getPlatformInfo()
nchronous function that returns a [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise). ## Syntax ```js-nolint let getting = browser.runtime.getPlatformInfo() ``` ### Parameters None. ### Return value A [`Promise`](/docs/Web/JavaScript/Reference/Global_Objects/Promise) that will be fulfilled with a runtime.PlatformInfo value representing the current platform. ## Examples Get and log the platform
Firefox 160 release notes for developers (Stable)
user activation flag when called with `userActivation: false`. ([Firefox bug 2084107](https://bugzil.la/2084107)). ## Changes for add-on developers - runtime.PlatformInfo now returns `arch` as `arm64` for ARM64 platforms. Previously, it returned `aarch64`. This aligns the value returned by Firefox for ARM64 platforms with Chrome. ([Firefox bug 2080310](https://bugzil.la/2080310)). - Adds the `windowId` property to