Lines Matching refs:result
17 message_events: ["start", "test_state", "result", "completion"],
73 result: [add_result_callback, remove_result_callback,
77 {type: "result",
300 type: "result",
402 // testharness.js should ask the result to its service worker by
937 var result = recordedEvents || evt;
939 resolveFunc(result);
987 var result = recordedEvents;
991 resolveFunc(result);
1105 var result;
1108 result = func();
1111 if (!result || typeof result.then !== "function") {
1114 return result;
1161 * and as a result any test throwing an exception will result in no tests being
2568 //If we don't get a result before the harness times out that will be a test timeout
2841 * Schedule a function to be run after the test result is known, regardless
2845 * influence the result of the test, but if an exception is thrown, the
2958 var result;
2961 result = cleanup_callback();
2967 if (!is_valid_cleanup_result(this_obj, result)) {
2974 results.push(result);
2981 function(result, done) {
2982 if (result && typeof result.then === "function") {
2983 result
3001 function is_valid_cleanup_result(test, result) {
3002 if (result === undefined) {
3007 return result && typeof result.then === "function";
3041 tests.result(test);
3053 * on the local document. This allows listeners (test result reporting
3228 tests.result(remote_test);
3272 result: RemoteContext.prototype.test_done,
3591 Tests.prototype.result = function(test)
3918 * Add a callback that's triggered when a test result is received.