1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 add_completion_callback(function(tests, harness_status) {
6 // This output is parsed in TestResult.from_wpt_output.
7 print("WPT OUTPUT: " + JSON.stringify([
9 harness_status.message,
11 tests.map(function(t) {
12 return [t.name, t.status, t.message, t.stack];