1)To find something hilarious and disgusting at the same time.2)To laugh at something before realizing how nasty it is, and vomiting.
"Jenna roflgagged while Justin drunkenly spewed vomit into the garbage can."