Faced with local opposition , China has employed the twin policies of economic development and repression in both Xinjiang and Tibet , believing that would win over the masses while crushing dissent .