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

Eval'ing breaks stack traces #26

Closed
devinrhode2 opened this issue Jan 9, 2013 · 1 comment
Closed

Eval'ing breaks stack traces #26

devinrhode2 opened this issue Jan 9, 2013 · 1 comment

Comments

@devinrhode2
Copy link

Over at TraceKit.js we're trying to get some unit testing going: occ/TraceKit#11 (comment)

The key comment from @airportyh there:

Alright, so I had a go with testling and had high hopes for it, because it is really cool how all it requires is for your test framework to output the tap protocol via console.log, so I used Jasmine with the tap reporter. However, ultimately it didn't work for TraceKit because it bundles all of the source code into a string to be executed via eval, which kills stacktraces for TraceKit. I tried instead to hotlink to github for all the source files, but only to realize we are now block by the single-origin policy.

@ljharb
Copy link
Collaborator

ljharb commented Jan 10, 2020

This doesn't seem actionable, but if I'm wrong, I'm happy to reopen.

@ljharb ljharb closed this as completed Jan 10, 2020
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