Miscellaneous e10s fixes

The name `_isPrefAllowed` seems somewhat misleading to me, since it suggests that the method should return a `boolean` value.
@yurydelendik, @brendandahl Would it make sense to rename this to e.g. `_throwIfPrefIsNotAllowed` instead?