I'm trying to use a library that dynamically loads JSON files via
XMLHttpRequests. I'm hosting the files locally in the extension so
they're accessible via the chrome-extension URL. I'm using the
complete chrome-extension URL in the request (and if I paste it
directly into the browser it downloads the json file).

The XMLHtttpRequest in the library keeps failing with the following
parameters (when the error callback is called):

   readyState: 4
   responseText: this has the 2.5 lines of the file
   status: 0
   statusText: blank

I can't find any other error messages. Any ideas? Why would only 2.5
out of 54 lines be in the responseText? The responseText stops half
way through a string (no unusual characters there) and the JSON is
valid. Do I need to add permissions for this?

(On Linux build 4.0.270.0)

Thanks
--Jon

--

You received this message because you are subscribed to the Google Groups 
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=en.


Reply via email to