Files
firefox/testing/web-platform/tests/resources
Ms2ger b74edc4b6b Bug 1566865 [wpt PR 17670] - Update webidl2.js to v22.1.0., a=testonly
Automatic update from web-platform-tests
Update webidl2.js to v22.1.0.

--
Document the webidl2.js setup.

--

wpt-commits: e4e0002bdb85a1dacd29415703751df351fbd2c0, 7f03d60443920e8f7d9ab1a2a064d8ff8acdb633
wpt-pr: 17670
2019-07-24 13:35:05 +01:00
..
…
…
…
…

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.