tree: 155e82cf9508c51a2c8735ef4e24fd150e8d0144
  1. chromium/
  2. test/
  3. test262/
  4. webidl2/
  5. .htaccess
  6. accesskey.js
  7. blank.html
  8. channel.sub.js
  9. check-layout-th.js
  10. example.pdf
  11. idlharness.js
  12. idlharness.js.headers
  13. META.yml
  14. out-of-scope-test.js
  15. readme.md
  16. sriharness.js
  17. SVGAnimationTestCase-testharness.js
  18. test-only-api.js
  19. test-only-api.js.headers
  20. test-only-api.m.js
  21. test-only-api.m.js.headers
  22. testdriver-actions.js
  23. testdriver-actions.js.headers
  24. testdriver-vendor.js
  25. testdriver-vendor.js.headers
  26. testdriver.js
  27. testdriver.js.headers
  28. testharness-shadowrealm-audioworkletprocessor.js
  29. testharness-shadowrealm-inner.js
  30. testharness-shadowrealm-outer.js
  31. testharness.js
  32. testharness.js.headers
  33. testharnessreport.js
  34. testharnessreport.js.headers
  35. web-bluetooth-bidi-test.js
  36. web-extensions-helper.js
resources/readme.md

Resources

This directory contains utilities intended for use by tests and maintained as project infrastructure. It does not contain tests.

testharness.js

testharness.js is a framework for writing low-level tests of browser functionality in javascript. It provides a convenient API for making assertions and is intended to work for both simple synchronous tests, and tests of asynchronous behaviour.

Complete documentation is available in the docs/ directory of this repository and on the web at https://web-platform-tests.org/writing-tests/.