How web-platform-tests/wpt works
WPT is a cross-browser conformance test suite: contributors add tests, which exercise browser implementations and expose whether behavior matches the Web platform. The visible tree covers file and blob handling, IndexedDB, WebCrypto, and additional APIs including cookies, client hints, CSS, sensors, and accessibility. Support resources assist particular tests, but this is not an implementation of those browser APIs. The README describes browser execution and a results archive; sampled files show test behavior rather than the runner or result-submission implementation, so those internals are not mapped.
Main entry points: FileAPI File and URL tests · IndexedDB IndexedDB tests · WebCryptoAPI WebCrypto tests · client-hints Client hints tests
Components 20
Files and URLs
- File and URL tests
FileAPI - File test helpers
FileAPI/support
Persistent storage
- IndexedDB tests
IndexedDB - IndexedDB resources
IndexedDB/resources - Storage bucket tests
IndexedDB/storage-buckets.https.any.js
Cryptography
- WebCrypto tests
WebCryptoAPI - Crypto test utilities
WebCryptoAPI/util
Other platform APIs
- Cookie Store tests
cookiestore - Client hints tests
client-hints - Hint echo resource
client-hints/resources/echo-client-hints-received.py - CSS API tests
css/css-properties-values-api - Accessibility tests
core-aam - Sensor tests
accelerometer - AI API tests
ai - App manifest tests
appmanifest - Connection policy tests
connection-allowlist - Storage test helper
common/PrefixedLocalStorage.js
Other components
- Test contributor
- Browser implementation
- WPT results archive
Connections 30
- Test contributor → File and URL tests: authors tests
- Test contributor → IndexedDB tests: authors tests
- Test contributor → WebCrypto tests: authors tests
- Test contributor → Cookie Store tests: authors tests
- Test contributor → Client hints tests: authors tests
- Test contributor → CSS API tests: authors tests
- Test contributor → Accessibility tests: authors tests
- Test contributor → Sensor tests: authors tests
- Test contributor → AI API tests: authors tests
- Test contributor → App manifest tests: authors tests
- Test contributor → Connection policy tests: authors tests
- File and URL tests → Browser implementation: exercise APIs
- IndexedDB tests → Browser implementation: exercise APIs
- Storage bucket tests → Browser implementation: exercise APIs
- WebCrypto tests → Browser implementation: exercise APIs
- Cookie Store tests → Browser implementation: exercise APIs
- Client hints tests → Browser implementation: exercise APIs
- CSS API tests → Browser implementation: exercise APIs
- Accessibility tests → Browser implementation: exercise APIs
- Sensor tests → Browser implementation: exercise APIs
- AI API tests → Browser implementation: exercise APIs
- App manifest tests → Browser implementation: exercise APIs
- Connection policy tests → Browser implementation: exercise APIs
- Browser implementation → WPT results archive: results archived
- IndexedDB tests → IndexedDB resources: uses resources
- Storage bucket tests → IndexedDB resources: uses promises
- WebCrypto tests → Crypto test utilities: uses utilities
- File and URL tests → File test helpers: uses helpers
- Client hints tests → Hint echo resource: requests echo
- File and URL tests → Storage test helper: shares test storage