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