cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gill (JIRA)" <>
Subject [jira] [Created] (CB-3385) Issue with local xhr status code and plugman jsmodule stuff
Date Tue, 14 May 2013 01:28:13 GMT
Steve Gill created CB-3385:

             Summary: Issue with local xhr status code and plugman jsmodule stuff
                 Key: CB-3385
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaJS, Plugman
    Affects Versions: Master
            Reporter: Steve Gill
            Assignee: Steve Gill
             Fix For: 2.8.0

Issue is with plugin_loader.js script. It makes a local xhr request to get the contents of
cordova_plugins.json. It returns successfully, but with the status code 0 instead of 200.
After doing some research (!topic/phonegap/KjHoMlLyoUA)
I found out that local xhr on the file protocol returns 0. 

plugin_loader checks for status code 200 at

I have been trying to install the javascript stuff for device motion and couldn't understand
why navigator.accelerometer wasn't getting clobbered. Fixing this solved the problem. 

I will look into pushing a fix for this tomorrow.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message