This is the very famous chromyl chloride test, used for detection of chloride ion in solution -
$$\ce{K2Cr2O7 + 4NaCl + 6H2SO4 -> 2CrO2Cl2 + 2KHSO4 + 4NaHSO4 +3H2O}$$
When a mixture containing chloride ion is heated with potassium dichromate and concentrated sulphuric acid, deep orange-red fumes of chromyl chloride are formed. My question is, how?
I want to know the proper mechanism for this reaction, particularly for chromyl chloride formation. I couldn't find it in several texts (and online), such as JD Lee and Atkins.
Also, if instead of chloride ion, bromide ion (or iodide) is used then 'chromyl bromide' is not formed. Instead, bromine gas is liberated, and chromium (III) sulphate is formed along with potassium (I) sulphate. Why? What is so special about the chloride ion?