-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Record fetch requests in breadcrumb #744
Record fetch requests in breadcrumb #744
Conversation
Sweet! I'll probably merge this as-is, but follow-up and change the config options so that |
The tests are run in Phantom (1?), which probably doesn't have |
501b808
to
db16c0c
Compare
@benvinegar I just updated the PR and fixed the tests. I added the fetch polyfill to the test iframe but forgot the es6-promise polyfill to get it work correctly :/ So tests are now passing About renaming fetch+xhr to http setting, are you sure this is a good idea? Sounds like a BC break for users. Anyway, if you're sure, I can make the change in this PR. Let me know |
We would make it backwards compatible. For now, let's just keep the option "xhr" ... and have it encompass both |
db16c0c
to
5dadbcf
Compare
PR updated, should be alright now :) |
Anything left here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, merging.
Hello,
this is an integration of capturing fetch requests the same way XMLHttpRequests are captured for breadcrumb.
Tests are passing on my browser using
node_modules/.bin/grunt run:test
onhttp://localhost:8000/test/integration/
However, running
node_modules/.bin/grunt test
fails locally withI don't know why. If anyone has an idea...