Floorp-Projects / Floorp

All of source code of version 10 or later of Floorp Browser, the most Advanced and Fastest Firefox derivative 🦊
https://floorp.app
Other
4.97k stars 144 forks source link

[Bug]: WebAuthn authentication failure #1193

Closed LennyLizowzskiy closed 1 month ago

LennyLizowzskiy commented 1 month ago

Pre-Submission Checklist

Bug Summary

Can't login via security key using WebAuthn

Reproduction Steps

  1. Try to log into Google using security key
  2. See this image

Expected Behavior

Browser should prompt me to enter the password to unlock my security key. Screenshot from Firefox ESR 115.11.0: image

Actual Behavior

Website shows that some error occured. Issue persists across all websites that use WebAuthn (so GitHub is also affected)

Screenshots

Console output:

Extension error: TypeError: URL constructor:  is not a valid URL. moz-extension://968fc52e-c1bc-4b46-8610-7c8d61f4253c/background.bundle.js 1
[[Exception stack
@moz-extension://968fc52e-c1bc-4b46-8610-7c8d61f4253c/background.bundle.js:1:12331
Current stack
applySafeWithoutClone@resource://gre/modules/ExtensionCommon.sys.mjs:693:41
fire@resource://gre/modules/ExtensionChild.sys.mjs:836:37
recvRunListener@resource://gre/modules/ExtensionChild.sys.mjs:840:13
_recv@resource://gre/modules/ConduitsChild.sys.mjs:77:20
receiveMessage@resource://gre/modules/ConduitsChild.sys.mjs:189:20
]]
JavaScript error: undefined, line 0: Error: Missing host permission for the tab

Browser Version

11.13.2

Operating System

Linux, NixOS 24.05-pre

Additional Context

Webauthn-related Floorp about:config: image

LennyLizowzskiy commented 1 month ago

I checked the build scripts for Floorp in Nix repo and it seems like the issue is there, not in the browser itself