British film director Mike Leigh has canceled a trip to Israel to protest against a proposed loyalty oath .