Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Interference: Bitwarden Extension Alters navigator.credentials and Breaks EtherPad Functionality #13252

Open
1 task done
Biggby opened this issue Feb 4, 2025 · 4 comments
Labels
browser Browser Extension bug

Comments

@Biggby
Copy link

Biggby commented Feb 4, 2025

Steps To Reproduce

Add the Bitwarden extension to Brave and or Chrome
Enable the Bitwarden extension in a browser (e.g., Brave or Chrome).
Navigate to a website utilizing EtherPad or similar frameworks.
Observe JavaScript errors in the browser console.

Expected Result

The expected result is the website to fully load and be able to type on the pad.

Actual Result

An error occurred
Please press and hold Ctrl and press F5 to reload this page

If the problem persists, please send this error message to your webmaster:

Error: Ace2Editor.init() error event while waiting for load event
at unknown at line -1
ErrorId: cvwMKfiSgbgNvndZHBOW
Unhandled Promise rejection
URL: https://pad.riseup.net/p/Jx6xSJjYwN2A17n2O0XJ
UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36

Screenshots or Videos

[myth.rip/q7pq9supya](Image of Issue)

Additional Context

Some of the code lines I've seen it interfere with is:
const e = new Error(Ace2Editor.init() error event while waiting for ${t} event);
let w = new Error(Ace2Editor.init() error event while waiting for ${e} event);
navigator.credentials.create = createWebAuthnCredential;

Impact
JavaScript errors prevent EtherPad from initializing properly, making the affected websites unusable.
Other critical website functionality reliant on navigator.credentials may also fail.

Operating System

Windows

Operating System Version

No response

Web Browser

Brave

Browser Version

Current

Build Version

2025.1.2

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
@Biggby Biggby added browser Browser Extension bug labels Feb 4, 2025
@bitwarden-bot
Copy link

Thank you for reporting this issue! We've added this to our internal tracking system.
ID: PM-17970

@jtodddd
Copy link

jtodddd commented Feb 5, 2025

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

@Biggby
Copy link
Author

Biggby commented Feb 5, 2025

Hi there,

I am unable to reproduce this issue, it has been escalated for further investigation. If you have more information that can help us, please add it below.

Thanks!

I am running the current brave browser and I am logged into bitwarden, If you run Bitwarden Extension with Site Access set to On All Sites and go to pad.riseup.net create a pad and it should give you the error

@Biggby
Copy link
Author

Biggby commented Feb 5, 2025

If needed I can record a video to showcase it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
browser Browser Extension bug
Projects
None yet
Development

No branches or pull requests

3 participants