Wiktionary
crap one's pants
vb. 1 (context literally English) To defecate into one's pants or other clothing. 2 (context idiomatic figuratively English) To be extremely frightened.