Mikey-Lucky opened a new issue, #12759:
URL: https://github.com/apache/skywalking/issues/12759

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   NodeJS Client Side Agent (apache/skywalking-client-js)
   
   ### What happened
   
   When I request a cross domain request,the console display that "Uncaught 
InvalidStateError: Failed to read the 'responseText' property from 
'XMLHttpRequest': The value is only accessible if the object's 'responseType' 
is '' or 'text' (was 'arraybuffer')".The stack display the error is generated 
by ”Ajax Error Collection“.
   
   ### What you expected to happen
   
   index.js:1 Uncaught InvalidStateError: Failed to read the 'responseText' 
property from 'XMLHttpRequest': The value is only accessible if the object's 
'responseType' is '' or 'text' (was 'arraybuffer').
       at eval (index.js:1:6619)
       at XMLHttpRequest.f (index.js:1:22756)
       at XMLHttpRequest.eval (index.js:1:20573)
   
   ### How to reproduce
   
   let xhr= new XMLHttpRequest();
   xhr.open('GET','...',true);// blocked by CORS
   xhr.responseType = 'arraybuffer';
   xhr.send();
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [X] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to