Conversation
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
|
I would prefer for MDN to just note that the enum values are strings but avoid describing the specific browser- and system-dependent values. I'm not sure that
CC @oliverdunk Courtesy ping in case you would be interested in this discussion. |
If there values are mostly stable, there may be value in documenting examples of what they look like. An enum implies that the enumeration is complete. Since this is not true, we should note that the list may be incomplete, in the mdn/content side (e.g. as part of mdn/content#43847).
An example of a use case that I can imagine for this information is when the extension wants to determine which binary to serve when asking users to install a native messaging application.
From the way you described it, it sounded like a senseless property was added to work around a crash without fixing a root cause. After reading the references you provided (they are the same, did you mean a different link?), I disagree with the "not actually fixing the cause" description. The issue there was that Chromium apparently started compiling (and running!) for a new platform which was previously unrecognized and therefore triggered the Incidentally, Firefox uses the same On the Firefox side we document the supported build targets at https://firefox-source-docs.mozilla.org/build/buildsystem/supported-configurations.html . Some of these targets are maintained by individuals external to the main project, which could call in question the long-term support of a particular architecture. |
Perhaps, WECG should document the recognized values to avoid future incompatibilities like
Yes, sorry for mistake, I updated the link in original comment.
I'm sorry if he comment sounded a bit alarmist. This isn't a big deal really. The proper fix which we merged soon after was to make
Great! Can we document this in WECG? Can we fix discrepancy between |
Note added. |
Do you have an overview of the supported values across browsers? That would make it easier to tell what is different and what we should change or align on. |
Summary
As a result of [WebExtensions] Deprecate runtime.PlatformInfo.nacl_arch #43799, it was identified that a number of the
PlatformArchvalues were missing. This PR adds those values.To do
Confirm values supported in Safari.
Related pull requests
Content changes in mdn/content#43847.