I am trying to do a form submit, which uploads a file that I read from and then I attempt to send back the data read from the file through the callback. However, I receive the error
"{success:false,message:"Blocked a frame with origin "http://localhost:####" from accessing a cross- origin frame."}"
Hence my callback is never achieved and the data never makes it back to the success callback of the form submit.
I am not entirely sure what that error message means.. and I do not know where to go from here. Any help would be appreciated.
you can follow any of the below steps.
1.Either install your sencha app in the same server as your back end.
2.Use below flag in your browser, but don't do it for production (only for development purpose)
--disable-web-security --allow-file-access-from-files --allow-file-access
3. Use JSONP to access resource outside origin.