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

Ignore trace entries generated by dev tools #2

Open
antross opened this issue Jul 12, 2018 · 1 comment
Open

Ignore trace entries generated by dev tools #2

antross opened this issue Jul 12, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@antross
Copy link
Owner

antross commented Jul 12, 2018

Currently some calls various browsers dev tools make end up in the trace, but having the tools open is useful to pair with features like device emulation. Need to see if there's some way to determine that the caller is tooling to filter such calls from the log.

@antross antross changed the title Support running in Edge with F12 open Support running with dev tools open Jul 13, 2018
@antross antross added the enhancement New feature or request label Jul 13, 2018
@antross
Copy link
Owner Author

antross commented Jul 18, 2018

Some experimentation with new Error().stack suggests this might be possible.

Calls can potentially be ignored if only tracer code is in the stack or if the bottom of the stack is not page code (e.g. marked (native code) in Edge or <anonymous> in Chrome - unclear if Firefox has an equivalent). Care would have to be taken to avoid accidentally ignoring callback contexts and to make sure no non-tooling cases match these patterns.

@antross antross changed the title Support running with dev tools open Ignore trace entries generated by dev tools Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant