Miscellaneous e10s fixes

Can you rename it to _ensurePreferenceAllowed ?