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

fetchSourceMap tries to fetch <anonymous> URLs #14

ivkos opened this issue Jun 7, 2019 · 0 comments


None yet
1 participant
Copy link

commented Jun 7, 2019

retrace fails for the stack trace below with a 400 Bad Request error. I suspect it treats the <anonymous> literals as URLs and tries to send an HTTP request to %3Canonymous%3E.

ReferenceError: bork is not defined
    at UserForm._callee4$ (http://localhost:8080/static/js/13.25e3de7b.chunk.js:1482:17)
    at tryCatch (http://localhost:8080/static/js/main.f3e03149.chunk.js:12350:40)
    at Generator.invoke [as _invoke] (http://localhost:8080/static/js/main.f3e03149.chunk.js:12576:22)
    at Generator.prototype.<computed> [as next] (http://localhost:8080/static/js/main.f3e03149.chunk.js:12402:21)
    at asyncGeneratorStep (http://localhost:8080/static/js/13.25e3de7b.chunk.js:1157:103)
    at _next (http://localhost:8080/static/js/13.25e3de7b.chunk.js:1159:194)
    at http://localhost:8080/static/js/13.25e3de7b.chunk.js:1159:364
    at new Promise (<anonymous>)
    at UserForm.<anonymous> (http://localhost:8080/static/js/13.25e3de7b.chunk.js:1159:97)
    at UserForm.onFileSelect (http://localhost:8080/static/js/13.25e3de7b.chunk.js:1562:30)

The fetchSourceMap function might need additional checks to avoid such URLs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.