I don’t know about the 302, but I tested the 301 on some browsers today, here the results:
SCENARIO: user clicks link on domainX that points to domainA. domainA does a 301 redirect to domainB.
- IE8
referer
when landing on domainB is: domainX (even when using InPrivate browsing and even when user opens link in new tab) - Safari4
referer
when landing on domainB is: domainX (even when user opens link in new tab) - FF3.6.10
referer
when landing on domainB is: domainX (even when user opens link in new tab) - Chrome5
referer
when landing on domainB is: domainX (unless user opens links in new tab) - Chrome26
referer
when landing on domainB is: domainX (even when the user opens links in new tab)