Describe the bug
A clear and concise description of what the bug is.s
js/popup.js calls for nacl_arch, which is already undefined in Firefox and will soon be undefined in Chrome.
To Reproduce
Steps to reproduce the behavior.
1 .Install extension on Firefox.
2. Open popup and see version string v5.2.0 (win undefined) - undefined.
On Google Chrome:
- Enable Chrome experiment removing
nacl_arch in runtime.getPlatformInfo().
- Install extension on Chrome.
- Open popup and see version string
v5.2.0 (win undefined) - en.
Expected behavior
A clear and concise description of what you expected to happen.
Popup does not display undefined. Instead, it falls back to arch if no nacl_arch is available. Or to web-exposed navigator.userAgentData.getHighEntropyValues(['bitness']).
Screenshots
If applicable, add screenshots to help explain your problem.
System Information
- Browser Firefox
- Version - 153.0.4
Additional context
Add any other context about the problem here.
This attribute is deprecated: https://developer.chrome.com/docs/extensions/reference/api/runtime#type-PlatformInfo
Chromium issue tracker (see the most recent comments): https://issues.chromium.org/issues/40511454
Describe the bug
A clear and concise description of what the bug is.s
js/popup.jscalls fornacl_arch, which is alreadyundefinedin Firefox and will soon beundefinedin Chrome.To Reproduce
Steps to reproduce the behavior.
1 .Install extension on Firefox.
2. Open popup and see version string
v5.2.0 (win undefined) - undefined.On Google Chrome:
nacl_archinruntime.getPlatformInfo().v5.2.0 (win undefined) - en.Expected behavior
A clear and concise description of what you expected to happen.
Popup does not display
undefined. Instead, it falls back toarchif nonacl_archis available. Or to web-exposednavigator.userAgentData.getHighEntropyValues(['bitness']).Screenshots
If applicable, add screenshots to help explain your problem.
System Information
Additional context
Add any other context about the problem here.
This attribute is deprecated: https://developer.chrome.com/docs/extensions/reference/api/runtime#type-PlatformInfo
Chromium issue tracker (see the most recent comments): https://issues.chromium.org/issues/40511454