Safari 5 Extension XMLHttpRequest Error: INVALID_STATE_ERR: DOM Exception 11
- by unknowndomain
I am experimenting with the new Safari 5 extensions JS API and I am having an issue right from the ground up, I want to use an XMLHttpRequest to get an RSS feed from a website however upon the .send() it immediatly kicks off errors:
Failed to load resource: cancelled
Then looking at the XMLHttpRequest object is says in status: Error: INVALID_STATE_ERR: DOM Exception 11
I don't know why but this is my code, I hope I can get some advice as to whats going wrong:
var xml = new XMLHttpRequest();
xml.open('GET', 'http://year3.gdnm.org/feed/');
xml.send();
Thanks in advance.