poop (one's) pants
1. Literally, to defecate while still wearing one's pants. I need you to pull over the car right now, or else I'm going to poop my pants!
2. By extension, to be very surprised. When I saw that the magazine had published my letter to the editor, I totally pooped my pants!