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

core(console): replace ConsoleMessages and RuntimeExceptions artifacts #11663

Merged
merged 62 commits into from
Dec 12, 2020

Conversation

warrengm
Copy link
Contributor

@warrengm warrengm commented Nov 13, 2020

Summary
Creates a new Console gatherer that collects all messages from the console in a single artifact. It subsumes the ConsoleMessages and RuntimeExceptions gatherers and adds new functionality to collect console API calls.

Open questions:

  • Do we want console.error calls in the console errors audit? My guess is no but want to confirm since it's now trivial to change
  • Do we need the original devtools event in the artifact? I think not

Related Issues/PRs
Fixes #11597

@google-cla google-cla bot added the cla: yes label Nov 13, 2020
@warrengm warrengm changed the title core(gatherer): Create new Console gatherer that subsumes ConsoleMessages and RuntimeExceptions core(gatherer): Refactor Console artifacts Nov 13, 2020
@warrengm warrengm changed the title core(gatherer): Refactor Console artifacts core(gatherer): refactor Console artifacts Nov 13, 2020
@warrengm
Copy link
Contributor Author

warrengm commented Dec 9, 2020

I'll work on making the changes!

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎉

…hthouse/lighthouse-successful-run-expected.txt
@@ -733,4 +730,3 @@ viewport-ad-density
visual-order-follows-dom
without-javascript
works-offline
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
works-offline
works-offline

Copy link
Collaborator

@patrickhulce patrickhulce Dec 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I've found a bug in GitHub suggestions 😆

…hthouse/lighthouse-successful-run-expected.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gather console.warn, console.error messages
5 participants