-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Add console.countReset manual test #10722
Add console.countReset manual test #10722
Conversation
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.
LGTM with one nit, thank you for the new test!
@@ -0,0 +1,47 @@ | |||
<!DOCTYPE html> | |||
<html> |
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.
nit: You don't need <html>
<head>
or <body>
.
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.
Ah, right! The reason all of the manual tests under console/
have these unneeded components is because when I added the first one a while ago I just copied the format of some other manual tests in this repo. If you'd like I can remove these extra bits from this test (+ other manuals in this folder)?
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.
LGTM. Also worth adding some non-manual tests for the string conversion.
Done! Since we're basically testing IDL conversions for a lot of console methods at this point, I added a TODO for me to DRY this up a bit later. We could probably move all these to a |
Yeah, I imagine idlharness might even work, if it's gotten namespace support recently. |
Right now that's on my backlog to look at: #7583 |
Tests for the pending Console Standard PR specifying
console.countReset
. This set of tests reflects the current state of that PR, which is subject to change, depending on implementer agreement. Do not merge yet.