tree: 3ce86157e09b43c952575b5c8ded65588b4afcab [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. check-layout.js
  10. declarative-shadow-dom-polyfill.js
  11. idlharness-shadowrealm.js
  12. idlharness.js
  13. idlharness.js.headers
  14. META.yml
  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-vendor.js
  24. testdriver-vendor.js.headers
  25. testdriver.js
  26. testdriver.js.headers
  27. testharness.js
  28. testharness.js.headers
  29. testharnessreport.js
  30. testharnessreport.js.headers
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/.