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

DataCloneError: Proxy object could not be cloned. #2470

Open
noscripter opened this issue Feb 21, 2024 · 2 comments
Open

DataCloneError: Proxy object could not be cloned. #2470

noscripter opened this issue Feb 21, 2024 · 2 comments

Comments

@noscripter
Copy link

Describe the bug

Uncaught runtime errors:
ERROR
DataCloneError: Proxy object could not be cloned.

To Reproduce
Steps to reproduce the behavior:

  1. Click on the toolbar icon to open the popup;
  2. Click on close icon to close a certain tab;
  3. The above error occurs.

Expected behavior

Close tab successfully and no error was thrown.

Screenshots

image

Desktop (please complete the following information):

  • OS: macOS
  • Browser Firefox
  • Version 123.0 (64-bit)

Additional context

I'm using the source code, and run pnpm start in debugging mode.

In the debug inspect console, I can see the error and its stack trace as below.

image

Expand the stack trace can see the following image:

image

Click on it can see the source code:

image

I believe it has something to do with firefox itself since the error source is in firefox. But I'm wondering if we could do anything to avoid this.

@xcv58
Copy link
Owner

xcv58 commented Feb 22, 2024

Hi @noscripter,

Thanks for reporting this. I have two questions:

  1. Does this affect the feature if you install it from in Firefox store https://addons.mozilla.org/en-US/firefox/addon/tab-manager-v2/ ?
  2. Can you please share your firefox version since I cannot reproduce?

@xcv58
Copy link
Owner

xcv58 commented Feb 22, 2024

I can reproduce now, the problem happens only in dev model (start command) but not build. I guess it might be related to dev utility like StrictMode.

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