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

[Bug]: dApps or Websites: Console Errors in lockdown-run.js and lockdown-more.js for MetaMask v.11.0.0 #21135

Closed
Muurtaja opened this issue Oct 1, 2023 · 4 comments
Labels

Comments

@Muurtaja
Copy link

Muurtaja commented Oct 1, 2023

Describe the bug

Encountered a console error while using both web3-based and regular websites. The error disappears upon uninstalling Metamask. This issue is causing confusion and needs attention.

Expected behavior

Metamask installed in Chrome should not trigger any console errors on web3-based or other websites.

Screenshots

image

Steps to reproduce

  1. Install Metamask
  2. Visit a web3-based or regular website.
  3. Observe the console for any errors.
  4. Uninstall Metamask.
  5. Repeat step 1.
  6. Verify if the console error persists.

Error messages or log output

lockdown-run.js:17 Lockdown failed: TypeError: At intrinsics.Object.groupBy expected boolean not function
  at isAllowedPropertyValue (lockdown-install.js:1:53384)
  at isAllowedProperty (lockdown-install.js:1:53807)
  at visitProperties (lockdown-install.js:1:55095)
  at isAllowedPropertyValue (lockdown-install.js:1:53041)
  at isAllowedProperty (lockdown-install.js:1:53807)
  at visitProperties (lockdown-install.js:1:55095)
  at lockdown-install.js:1:55523
  at repairIntrinsics (lockdown-install.js:1:144597)
  at lockdown-install.js:1:145462
  at lockdown-run.js:4:3
(anonymous) @ lockdown-run.js:17
Show 1 more frame
Show less
lockdown-more.js:99 Protecting intrinsics failed: ReferenceError: harden is not defined
  at lockdown-more.js:69:13
  at Set.forEach (<anonymous>)
  at protectIntrinsics (lockdown-more.js:44:22)
  at lockdown-more.js:97:5
(anonymous) @ lockdown-more.js:99
Show 1 more frame
Show less
lockdown-run.js:17 Lockdown failed: TypeError: At intrinsics.Object.groupBy expected boolean not function
  at isAllowedPropertyValue (lockdown-install.js:1:53384)
  at isAllowedProperty (lockdown-install.js:1:53807)
  at visitProperties (lockdown-install.js:1:55095)
  at isAllowedPropertyValue (lockdown-install.js:1:53041)
  at isAllowedProperty (lockdown-install.js:1:53807)
  at visitProperties (lockdown-install.js:1:55095)
  at lockdown-install.js:1:55523
  at repairIntrinsics (lockdown-install.js:1:144597)
  at lockdown-install.js:1:145462
  at lockdown-run.js:4:3
(anonymous) @ lockdown-run.js:17
Show 1 more frame
Show less
lockdown-more.js:99 Protecting intrinsics failed: ReferenceError: harden is not defined
  at lockdown-more.js:69:13
  at Set.forEach (<anonymous>)
  at protectIntrinsics (lockdown-more.js:44:22)
  at lockdown-more.js:97:5

Version

11.0.0

Build type

None

Browser

Chrome

Operating system

Windows

Hardware wallet

No response

Additional context

No response

Severity

Clients are experiencing significant confusion and apprehension after downloading Metamask, suspecting potential asset theft. This has resulted in discouragement towards using our dApp, which could lead to a loss of user trust and adoption. Immediate attention is required to address this critical issue.

@crypblizz8
Copy link

crypblizz8 commented Oct 3, 2023

Experiencing same issue with the above reproduction steps.

Please look into this as MM Extension should not be loading errors on immediate load.

@Muurtaja
Copy link
Author

Muurtaja commented Oct 4, 2023

Need a concern regarding this. 🥲

@anaamolnar
Copy link

I am closing this in favor of #20847

@Muurtaja
Copy link
Author

The issue has been resolved in version 11.1.2. Thank you all for your assistance!

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

No branches or pull requests

3 participants