[Echo.API.*] fix checking XDomainRequest object availability according to restrictions of this object