Bug 1759162 Comment 27 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Verified the fix on the latest Release (98.0.2/20220322144853) under Windows 10 x64, Ubuntu 16.04 LTS and macOS 11.3.1.

Following the steps from Comment 24, the same results have been obtained as on Beta i.e. 

On macOS and Ubuntu:
- calling `browser.pkcs11.isModuleInstalled("beidpkcs11")` in the add-on console will not throw the “ OperationError: PathUtils.filename: Could not initialize path: NS_ERROR_FILE_UNRECOGNIZED_PATH ext-pkcs11.js:54:37 “ error in the browser console.
- the promise resulting from calling `browser.pkcs11.isModuleInstalled("beidpkcs11")` is “fulfilled”.

On Windows:
- calling `browser.pkcs11.isModuleInstalled("beidpkcs11_64")` in the add-on console will not throw the “ OperationError: PathUtils.filename: Could not initialize path: NS_ERROR_FILE_UNRECOGNIZED_PATH ext-pkcs11.js:54:37 “ error in the browser console.
- the promise resulting from calling `browser.pkcs11.isModuleInstalled("beidpkcs11")` is “fulfilled”.

In conclusion, the fix is confirmed on Firefox Release, on Linux and macOS, and no negative impact has been observed on Windows.
Verified the fix on the latest Release (98.0.2/20220322144853) under Windows 10 x64, Ubuntu 16.04 LTS and macOS 11.3.1.

Following the steps from Comment 24, the same results have been obtained as on Beta i.e. 

On macOS and Ubuntu:
- calling `browser.pkcs11.isModuleInstalled("beidpkcs11")` in the add-on console will not throw the “ OperationError: PathUtils.filename: Could not initialize path: NS_ERROR_FILE_UNRECOGNIZED_PATH ext-pkcs11.js:54:37 “ error in the browser console.
- the promise resulting from calling `browser.pkcs11.isModuleInstalled("beidpkcs11")` is “fulfilled”.

On Windows:
- calling `browser.pkcs11.isModuleInstalled("beidpkcs11_64")` in the add-on console will not throw the “ OperationError: PathUtils.filename: Could not initialize path: NS_ERROR_FILE_UNRECOGNIZED_PATH ext-pkcs11.js:54:37 “ error in the browser console.
- the promise resulting from calling `browser.pkcs11.isModuleInstalled("beidpkcs11_64")` is “fulfilled”.

In conclusion, the fix is confirmed on Firefox Release, on Linux and macOS, and no negative impact has been observed on Windows.

Back to Bug 1759162 Comment 27