Heat the oil in a medium saucepan over high heat and fry the onion and garlic for 5 minutes, or until softened and browned. Add the tomato and fresh chilli, and cook, stirring occasionally, until the tomato is softened, but still intact, then stir in 2 teaspoons salt, or to taste, to combine.