Vaseline is non-toxic, and a dog can consume it safely in small quantities, usually resulting in diarrhea and vomiting.
In large enough amounts, petroleum jelly functions as a laxative.
The ASPCA advises pet owners to keep jars of Vaseline away from their dogs.