testharnessreport.js (577B)
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/. */ 4 5 add_completion_callback(function(tests, harness_status) { 6 // This output is parsed in TestResult.from_wpt_output. 7 print("WPT OUTPUT: " + JSON.stringify([ 8 harness_status.status, 9 harness_status.message, 10 harness_status.stack, 11 tests.map(function(t) { 12 return [t.name, t.status, t.message, t.stack]; 13 }), 14 ])); 15 });