add XDomainRequest to browser env
Merge pull request #1835 from m90/master

Add XDomainRequest to browser env too