B2G/gecko/services/common/tests/unit/test_storage_server.js
/**
 * Helper function to synchronously perform a DELETE request.
 *
 * @return Error or null if no error was encountered.
 */
Helper function to synchronously perform a DELETE request.
@return Error or null if no error was encountered.
Helper function to synchronously perform a DELETE request . @return Error or null if no error was encountered .
function doDeleteRequest(request) {
  let cb = Async.makeSpinningCallback();
  request.delete(cb);
  return waitAndValidateResponse(cb, request);
}
function doDeleteRequest ( request ) { let cb = Async . makeSpinningCallback ( ) ; request . delete ( cb ) ; return waitAndValidateResponse ( cb , request ) ; }
Helper function to synchronously perform a DELETE request.
Helper function to synchronously perform a DELETE request .