Skip to content
No description or website provided.
JavaScript Other
Find file
Latest commit 5a87b02 Apr 28, 2016 @mkruisselbrink mkruisselbrink committed with Ms2ger Add description parameter to promise_rejects. (#191); r=Ms2ger
All assert methods take a description parameter, so for consistency also
add one to promise_rejects.

This fixes #190


testharness.js provides 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 for 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

Full user documentation for the API is in the docs/ file.

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

Something went wrong with that request. Please try again.