Bug 1081393: Don't compare enums with equals() r=rnewman