Automatic update from web-platform-tests Don't set test fail status in web-extensions-helper.js. (#61149) web-extension-helper.js was overriding the test status to just `test.FAIL`, leaving out the test message. This causes a test failure to look like: `FAIL message: Undefined.UNDEFINED` since the message and stack are `undefined`. `test.set_status(status, message, stack);` is already being handled by testharness.js in the `step()` method (see line 2878) so we can just rely on that. -- wpt-commits: f4bc67f44b7cfe06d8d829e5a97a39eef7660b91 wpt-pr: 61149
Resources
This directory contains utilities intended for use by tests and maintained as project infrastructure. It does not contain tests.
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.
Complete documentation is available in the docs/ directory of this repository
and on the web at https://web-platform-tests.org/writing-tests/.