XMLHttpRequest is not defined, in a chrome extension options page

trapt6

New Member
I'm trying to make an XMLHttpRequest in the options page of an extension. In my \[code\]options.js\[/code\] file I simply have the following code :\[code\]if (window.XMLHttpRequest){ var xhr = new getXMLHttpRequest();}\[/code\]But I have this error in the console\[quote\] Uncaught ReferenceError: getXMLHttpRequest is not defined \[/quote\]I saw here that getXMLHttpRequests are a problem for hosted apps, but in this case, it's a simple extension, so I don't understand.
 
Top