B2G/gecko/toolkit/addon-sdk/test/unit/head.js
// The test failed with an unexpected error
The test failed with an unexpected error
The test failed with an unexpected error
function onReject(err) {
          let detail;
          if (err && typeof err == "object" && "stack" in err) {
            detail = err.stack;
          } else {
            detail = "(no stack)";
          }
          do_throw("Test " + test + " rejected with the following reason: "
              + err + detail);
      }
function onReject ( err ) { let detail ; if ( err && typeof err == "object" && "stack" in err ) { detail = err . stack ; } else { detail = "(no stack)" ; } do_throw ( "Test " + test + " rejected with the following reason: " + err + detail ) ; }
The test failed with an unexpected error
The test failed with an unexpected error