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

Fix console.countReset manual test #45072

Merged

Conversation

syvb
Copy link
Contributor

@syvb syvb commented Mar 12, 2024

The test wasn't resetting the count between blocks of console calls, so a spec-compliant browser would produce output that doesn't match the expectation. Also, it wasn't specifying the label in the "a label" test, so it was unintentionally resetting the default count instead of the "a label" count.

(In Firefox, the test outputs "default: 0" in the console a lot - this is actually a spec violation.)

Copy link
Member

@domfarolino domfarolino left a comment

Choose a reason for hiding this comment

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

Thanks!

@domfarolino domfarolino merged commit 9cf981e into web-platform-tests:master Mar 13, 2024
19 checks passed
@syvb syvb deleted the fix-countReset-manual-test branch March 13, 2024 13:31
BruceDai pushed a commit to BruceDai/wpt that referenced this pull request Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants