Description
Chrome logs a JavaScript error for every asynchronous component request in a page:
Refused to set unsafe header "User-Agent"
Steps to reproduce:
1. use Chrome (tested in version 24.0.1312.52)
2. open the JavaScript console (F12 -> 'Console' tab)
3. go to http://www.demo.test.onehippo.com/
Expected: no errors are logged
Actual: the following error is logged two times: 'Refused to set unsafe header "User-Agent" '