gecko-dev/testing/web-platform/tests/resources
jgraham 14bb87e713 Bug 1541545 [wpt PR 15952] - Consolidate .gitignore files under the root., a=testonly
Automatic update from web-platform-tests
Consolidate .gitignore files under the root (#15952)

Multiple .gitignores aren't supported by the manifest update code when running
against the filesystem, so put all the rules in the root file instead.

This also adds a lint to check for extra .gitignore files.
--

wpt-commits: 46712a196fbac08bac95203f4d0861d25268ea7f
wpt-pr: 15952
2019-04-24 11:30:48 +01:00
..
chromium Bug 1535435 [wpt PR 15761] - Upstream shapedetection tests to WPT, a=testonly 2019-04-24 11:18:03 +01:00
test
webidl2
.htaccess
check-layout-th.js
idlharness.js Bug 1526806 [wpt PR 14841] - Add tests for named constructors., a=testonly 2019-04-01 14:42:16 +01:00
idlharness.js.headers
LICENSE
META.yml
readme.md
sriharness.js
testdriver-actions.js
testdriver-vendor.js
testdriver-vendor.js.headers
testdriver.js Bug 1529156 [wpt PR 15305] - Add testdriver support for generate_test_report WebDriver command., a=testonly 2019-03-16 12:13:09 +00:00
testdriver.js.headers
testharness.css.headers
testharness.js
testharness.js.headers
testharnessreport.js
testharnessreport.js.headers

Resources

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.

Getting started

To use testharness.js you must include two scripts, in the order given:

<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>

Full documentation

For detailed API documentation please visit https://web-platform-tests.org/writing-tests/testharness-api.html.

Tutorials

You can also read a tutorial on Using testharness.js.