Web Platform Tests.
Verify browser behavior against shared web tests
For a browser or web engine implementation, compare the behavior of a targeted feature with shared, specification-linked tests. Keep the browser build, precise test IDs and expected results with each run.
HTML / CSS / JavaScript
Community rubric · v1
The evidence
One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.
Latest evidence review ·
Definition
VerifiedWPT specifies the roles of programmatic assertions, reference-image comparisons, crash tests and manual tests for web-platform features. Each type has its own observable expectation.
Measurement
VerifiedThe runner accepts a browser and a test path, extracts outcomes and can write a machine-readable report for the selected build.
Conformance
VerifiedThe community maintains a shared cross-browser test suite for web-platform specifications. Implementations can compare the same observable behavior on the same test revision.
CI enforcement
UnknownNo reviewed evidence is recorded for this dimension.
Getting started
VerifiedThe guide covers local browser prerequisites and setup, then runs dom/historical.html in Chrome and describes how the runner collects the result.
Real-world adoption
VerifiedFirefox imports the upstream suite and records implementation-specific expectations separately. Mozilla documents running the same tests with mach wpt.
Agent guidance
VerifiedFor an unexpected result, rerun the affected test ID, capture the raw log, then compare it with the browser's expectation metadata. Mozilla also explains when inconsistent reruns should be recorded as intermittent.
Agent portability
UnknownNo reviewed evidence is recorded for this dimension.
Use this standard
Run the check with the tool installed and configured for your project.
./wpt run chrome dom/historical.html
Agent prompt
Choose one web-platform feature whose implementation changed. Select the corresponding WPT subtree and a supported browser build. Save test IDs, expected and actual outcomes. Re-run an unexpected failure with that same binary and inspect the linked specification before proposing a fix.