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

Impacting Stripe: Uptick in errors from @duckduckgo-privacy-protection.js?scope=injectfirefox #1442

Open
winnie-stripe opened this issue Jan 29, 2025 · 1 comment

Comments

@winnie-stripe
Copy link

winnie-stripe commented Jan 29, 2025

Hello! I’m an engineer at Stripe and around 10:30am UTC 1/29 we started seeing elevated fatal errors impacting our payments iframes on webpages that integrate with the Elements product with a stack trace containing:

TypeError: can't access dead object

[email protected]?scope=injectfirefox:167:13
[email protected]?scope=injectfirefox:149:29
@duckduckgo-privacy-protection.js?scope=injectfirefox:3612:28
@duckduckgo-privacy-protection.js?scope=injectfirefox:11224:3 

We found that the error is specific to Firefox: https://blog.mozilla.org/addons/2012/09/12/what-does-cant-access-dead-object-mean/ and could mean that there is a lingering reference to an object that is no longer in memory.

From our internal debugging, we currently suspect that it is coming from here:

framingOrigin = globalThis.document.referrer;

and is firing when the tab closes on buyers’ browsers.

However, we have not been able to find whether or how there was an update to the duckduckgo extension at this time and are rather confused by the uptick in errors.

Any idea what could be causing this?

@htbkoo
Copy link

htbkoo commented Jan 30, 2025

(Not sure if this is related)

Just FYI, according to the commit history, the most recent changes were made to content-scope-scripts/injected/src/utils.js in #1314


On the other hand, I also start seeing a spike of this error in my projects (I am not from Stripe), so I believe this is not an isolated issue in one company only 👀

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

No branches or pull requests

2 participants