California lawmakers are considering legislation banning secret settlements in cases involving defective products or harmful environmental conditions.