We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
console.assert
When you call console.assert the first argument is evaluated, if it is true then the message is printed to the screen, otherwise nothing happens
See https://developer.mozilla.org/en-US/docs/Web/API/console/assert_static
rrweb's console recorder has no special handling for assert so we always print the message including the evaluated first arg
this gives an incorrect view of what could have been seen by the browser user
we should capture this and print everything except the first arg
we should not capture this
this wouldn't hit the console recorder (but its error would)
The text was updated successfully, but these errors were encountered:
i'll close this... it'll be resolved when we receive whatever release comes after rrweb 2-alpha-16
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
When you call
console.assert
the first argument is evaluated, if it is true then the message is printed to the screen, otherwise nothing happensSee https://developer.mozilla.org/en-US/docs/Web/API/console/assert_static
rrweb's console recorder has no special handling for assert so we always print the message including the evaluated first arg
this gives an incorrect view of what could have been seen by the browser user
printed when false
we should capture this and print everything except the first arg
nothing printed when true
we should not capture this
error printed when referencing undefined variable
this wouldn't hit the console recorder (but its error would)
The text was updated successfully, but these errors were encountered: