tomfoolery (n.)
"foolish trifling," 1812, from tomfool + -ery.