In my experience, electronics are semi-waterproof....for a few minutes. When I got my iPhone 3g to replace my original iPhone, I ran it under water just like that. It never turned off. In fact the only thing that stopped working was the cable port. It cant charge anymore.
And then theres this video:
YouTube - iPhone 3GS dropped in the pool. Still works!