This error occurs when I am trying to retrieve a "xml" response using a fetch in backbone.
my fetch code is :
itenary.fetch({
data :{date:dayFormatToSend.toString(), advisorId:"0000222186"},
dataType:"xml",
success:function(response){
console.log(response);
}
error
Uncaught Error: SecurityError: DOM Exception 18 backbone-min.js:13
f.extend.set backbone-min.js:13
a.success backbone-min.js:15
c.success backbone-min.js:40
fire jquery-1.8.0.js:973
self.fireWith jquery-1.8.0.js:1080
done jquery-1.8.0.js:7583
callback
This happens only when I have the dataType set to "xml" and if otherwise the success function wouldn't execute succesfully.
Also I could see the response properly in the network window in chrome browser inspect element window.
This happens only in chrome and it works fine with firefox