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

Promise rejection value is a non-unwrappable cross-compartment wrapper. #67

Closed
alanshaw opened this issue Aug 15, 2018 · 2 comments
Closed

Comments

@alanshaw
Copy link

I believe I've only seen this happen on Linux and not macOS. I use the reload extension link:

screen shot 2018-08-15 at 16 52 46

...and get the following errors:

screen shot 2018-08-15 at 16 59 18

I took out the module I'm using for TCP and I no longer get the error, so I originally thought it was something to do with trying to bind to the same port twice...but the errors above look like it comes from the service discovery code.

@Gozala
Copy link
Contributor

Gozala commented Aug 15, 2018

@alanshaw unfortunately I don't get enough context from the description to tell which promise (returned by which function) is to blame. I did pin down one case that #71 addresses but I'm not sure if that is the same one.

If it still occurs with latest changes please reopen, if you are able to tell which API function is that promise from that would really help. I also suspect that error would still occur it's just it won't be an unwrappable wrapper. To fix the actual error we'll need preferable more isolated example that I can reproduce.

@alanshaw
Copy link
Author

I didn't have a lot of time to put that issue together yesterday and consequently it wasn't as detailed as I'd liked. I'll try out the latest fixes and pin down the function causing the issue if it still exists. Thank you 👍

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