RSPCA
Do not feed the following: onions, garlic, chocolate, coffee or caffeine products, avocado, bread dough, grapes, raisins, sultanas, currants, nuts including macadamia nuts, fruit stones (pits) e.g. mango seeds, apricot stones, avocado stones; fruit seeds, corncobs; green unripe tomatoes, mushrooms; the one type of fish constantly, cooked bones; small pieces of raw bone or fatty trimmings
http://kb.rspca.org.au/What-should-I-feed-my-dog_263.html
Onion and garlic poisoning
Onions and garlic are other dangerous food ingredients that cause sickness in dogs, cats and also livestock. Onions and garlic contain the toxic ingredient thiosulphate. Onions are more of a danger.
Pets affected by onion toxicity will develop haemolytic anaemia, where the pet’s red blood cells burst while circulating in its body.
At first, pets affected by onion poisoning show gastroenteritis with vomiting and diarrhoea. They will show no interest in food and will be dull and weak. The red pigment from the burst blood cells appears in an affected animal’s urine and it becomes breathless. The breathlessness occurs because the red blood cells that carry oxygen through the body are reduced in number.
The poisoning occurs a few days after the pet has eaten the onion. All forms of onion can be a problem including dehydrated onions, raw onions, cooked onions and table scraps containing cooked onions and/or garlic. Left over pizza, Chinese dishes and commercial baby food containing onion, sometimes fed as a supplement to young pets, can cause illness.
Onion poisoning can occur with a single ingestion of large quantities or with repeated meals containing small amounts of onion. A single meal of 600 to 800 grams of raw onion can be dangerous whereas a ten-kilogram dog, fed 150 grams of onion for several days, is also likely to develop anaemia. The condition improves once the dog is prevented from eating any further onion
While garlic also contains the toxic ingredient thiosulphate, it seems that garlic is less toxic and large amounts would need to be eaten to cause illness.