I am building a firefox extension and in the extension I am making a ajax request which returns me a responseText, now I want to parse the responseText in the js but I am not able to parse that request.
Please note that if I run the same code on my webserver then it works perfectly. Below is the code
Code:
var myHTML = XHR.responseText;
var tempDiv = document.createElement('div');
tempDiv.innerHTML