But Actually ...
The roots of the myth of mighty hydrogen peroxide run so deep that scientists actually haven't bothered to research its wound-cleaning capacities until fairly recently. When they finally got around to it, peroxide's high horse instantly bolted and ran the hell away, neighing angry obscenities at its fallen rider as it went. For starters, that "healing" foam is completely useless -- it's just a natural chemical reaction with the catalase enzyme in your blood, creating an effect not unlike a tiny baking soda volcano spouting from your wound. Neat, yes, but not the thing you're looking for if you're actually planning to get better.
Brand X Pictures/Brand X Pictures/Getty Images
And there are easier ways to place first in the science fair.
OK, so we're prepared to accept that the foam is just smoke and mirrors. After all, hydrogen peroxide still kills all the bacteria at the site of a wound.
Except, well, it actually doesn't manage even that. It turns out that while hydrogen peroxide has no negative effects on the healing of wounds (other than a false sense of security, we suppose), it is pathetically ineffective at reducing bacterial count or inhibiting bacterial growth in a wounded area.
It's basically like using a Snickers wrapper as a condom.