Skip to content

Add WPT console tests - #8130

Merged
npaun merged 1 commit into
mainfrom
npaun/wpt-console
Nov 2, 2026
Merged

npaun merged 1 commit into
mainfrom
npaun/wpt-console

Conversation

@npaun

@npaun npaun commented Nov 1, 2026

Copy link
Copy Markdown
Member

Adds a WPT target for console: 41/51 subtests pass, including all 28 idlharness subtests.

The 10 expected failures are in console-label-conversion: V8's builtin count/time/timeLog/timeEnd/countReset don't stringify object labels.

🤖 Generated with Claude Code

@npaun
npaun marked this pull request as ready for review November 1, 2026 22:53
@npaun
npaun requested review from a team as code owners November 1, 2026 22:53

@clanky-the-clanker clanky-the-clanker Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Superseded by the review of b739c1df.

This review, of 124f5a57

✅ Approved — No issues found. This adds a WPT target for console. The expected failures are listed explicitly, and the comment in the config explains why they fail.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The new wpt_test target follows the same pattern as the existing targets in src/wpt/BUILD.bazel. The config in console-test.ts lists each of the 10 expected console-label-conversion failures by name, says why they fail, and leaves out helper.js because it isn't a test.


📝 Documentation: ✅ LGTM

No documentation concerns. The comments in the test config describe how the runtime behaves now.


Reviewed commit: 124f5a57

@npaun
npaun enabled auto-merge (rebase) November 1, 2026 23:14
Run the WPT console suite, which checks that console is a namespace
object with the right class string and IDL shape, that it can log
symbols and very large arrays, and that historical members are gone.

41 of 51 subtests pass, including all 28 idlharness subtests. The 10
expected failures are all in console-label-conversion: count,
countReset, time, timeLog and timeEnd come from V8's builtin console,
which doesn't convert object labels with toString() or rethrow errors
thrown by that conversion. helper.js is omitted because discovery
picks it up although it is not a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@npaun
npaun force-pushed the npaun/wpt-console branch from 124f5a5 to b739c1d Compare November 1, 2026 23:28

@clanky-the-clanker clanky-the-clanker Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Approved — No issues found. The new console WPT target follows the same pattern as the existing targets, and the expected failures are listed by name with the reason they fail.

The decision is advisory: this review is a comment and never approves, blocks or requests changes on the pull request.


✅ All checks passed

📋 Code Quality: ✅ LGTM

The new wpt_test target in src/wpt/BUILD.bazel follows the same pattern as the existing targets there. console-test.ts lists each of the 10 expected console-label-conversion failures by name and says why they fail.


📝 Documentation: ✅ LGTM

No documentation concerns. The comments in the test config describe how the runtime behaves now.


Reviewed commit: b739c1df

@npaun
npaun merged commit cb28bd3 into main Nov 2, 2026
52 of 68 checks passed
@npaun
npaun deleted the npaun/wpt-console branch November 2, 2026 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants