Files
firefox/testing/web-platform/tests/resources
James Graham 13a9009c0c Bug 1507526 [wpt PR 14076] - Revert PR 13640, a=testonly
Automatic update from web-platform-testsRevert "Update infrastructure/metadata/ to match Chrome and Firefox results"

This reverts commit c2bf7c6ed9e3ab9d42000b712d3793f6b58c33cd.

--
Revert "Add action_sequence in testdriver"

This reverts commit 3287351b606c4588e397632e2ab04641dc91094d.

--

wpt-commits: 9e10da29c88d1268b65bac176df3c6ab2ee6a3d5, 02dccc6b5ad45352ae5c3bdf23fcbd9b0deea071
wpt-pr: 14076
2018-11-21 13:59:06 +00: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.