[infra-tests] Introduce automated tests for testharness.js (#5627)

These tests are derived from previously-authored "API sample" files.

@jgraham If GeckoDriver is in your PATH, you can run the tests with the following command:

    $ pytest resources/test/tests

I'm wondering what you think about the patch itself, and how the tests ought to be enabled in CI.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/5627

Received on Thursday, 20 April 2017 19:29:38 UTC