Files
sousa-gecko/testing/web-platform/tests/resources
Justin Lulejian b15e95c6c5 Bug 2053621 [wpt PR 61149] - Don't set test fail status in web-extensions-helper.js., a=testonly
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
2026-07-12 11:59:10 +00:00
..
…
…
…
…

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/.