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

Errors in manifest do not include message or stack traces #589

Open
jnicklas opened this issue Oct 6, 2020 · 0 comments
Open

Errors in manifest do not include message or stack traces #589

jnicklas opened this issue Oct 6, 2020 · 0 comments
Labels
@bigtest/agent issues related to the bigtest agent code. @bigtest/server 🐛bug

Comments

@jnicklas
Copy link
Collaborator

jnicklas commented Oct 6, 2020

The error handler attached by the lane runner cannot capture the stack trace of errors raised in the manifest, because they originate from a different origin than the lane runner and the error appears simply as a generic "Script error" with no stack information or message. This is due to security restrictions in the browser: a script should not be able to interfere with another script from a different origin by capturing its errors. To fix this, we would probably need to move the manifest onto the same origin. See #584. I have not been able to find any other way around this restriction, as far as I can see there is no way to enable this via headers or security policies or the like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@bigtest/agent issues related to the bigtest agent code. @bigtest/server 🐛bug
Projects
None yet
Development

No branches or pull requests

1 participant