Test for bug 11611: REGRESSION: No http referer header sent on XMLHttpRequest.

sync:
async: